From ddbf81fa07aac8098d9fa8d979969fffd5436f75 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 13 Mar 2009 23:45:02 +0000 Subject: Thank you, mcortez, for a patch that fixes a number of long standing issues with the sun module. Fixes Mantis #3295 --- OpenSim/Framework/IClientAPI.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 4b95726..ad43316 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs @@ -933,6 +933,15 @@ namespace OpenSim.Framework bool AddMoney(int debit); + /// + /// Update the client as to where the sun is currently located. + /// + /// + /// + /// Seconds since Unix Epoch 01/01/1970 00:00:00 + /// + /// + /// The orbital position is given in radians, and must be "adjusted" for the linden client, see LLClientView void SendSunPos(Vector3 sunPos, Vector3 sunVel, ulong CurrentTime, uint SecondsPerSunCycle, uint SecondsPerYear, float OrbitalPosition); -- cgit v1.1