Make ZERO_ROTATION.y a float. Fixes Mantis #2985.

0.6.2-post-fixes
Mike Mazur 2009-01-12 09:04:31 +00:00
parent d7f1660761
commit a7bc56073c
2 changed files with 2 additions and 2 deletions

View File

@ -459,7 +459,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
// Can not be public const?
public static readonly vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0);
public static readonly rotation ZERO_ROTATION = new rotation(0.0, 0, 0.0, 1.0);
public static readonly rotation ZERO_ROTATION = new rotation(0.0, 0.0, 0.0, 1.0);
// constants for llSetCameraParams
public const int CAMERA_PITCH = 0;

View File

@ -451,7 +451,7 @@ namespace OpenSim.ScriptEngine.Components.DotNetEngine.Commands_LSL
// Can not be public const?
public static readonly vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0);
public static readonly rotation ZERO_ROTATION = new rotation(0.0, 0, 0.0, 1.0);
public static readonly rotation ZERO_ROTATION = new rotation(0.0, 0.0, 0.0, 1.0);
// constants for llSetCameraParams
public const int CAMERA_PITCH = 0;