mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 03:45:35 +08:00
Update svn properties, minor formatting cleanup.
This commit is contained in:
@@ -567,7 +567,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
double z = axis.z * s;
|
||||
double w = Math.Cos(angle / 2);
|
||||
|
||||
if(Double.IsNaN(x) || Double.IsNaN(y) || Double.IsNaN(z) || Double.IsNaN(w))
|
||||
if (Double.IsNaN(x) || Double.IsNaN(y) || Double.IsNaN(z) || Double.IsNaN(w))
|
||||
return new LSL_Types.Quaternion(0.0f, 0.0f, 0.0f, 1.0f);
|
||||
|
||||
return new LSL_Types.Quaternion((float)x, (float)y, (float)z, (float)w);
|
||||
|
||||
Reference in New Issue
Block a user