Make ZERO_ROTATION.y a float. Fixes Mantis #2985.
parent
d7f1660761
commit
a7bc56073c
|
@ -459,7 +459,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||||
|
|
||||||
// Can not be public const?
|
// Can not be public const?
|
||||||
public static readonly vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0);
|
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
|
// constants for llSetCameraParams
|
||||||
public const int CAMERA_PITCH = 0;
|
public const int CAMERA_PITCH = 0;
|
||||||
|
|
|
@ -451,7 +451,7 @@ namespace OpenSim.ScriptEngine.Components.DotNetEngine.Commands_LSL
|
||||||
|
|
||||||
// Can not be public const?
|
// Can not be public const?
|
||||||
public static readonly vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0);
|
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
|
// constants for llSetCameraParams
|
||||||
public const int CAMERA_PITCH = 0;
|
public const int CAMERA_PITCH = 0;
|
||||||
|
|
Loading…
Reference in New Issue