mirror of
https://github.com/opensim/opensim.git
synced 2026-07-07 05:05:47 +08:00
Formatting cleanup, minor refactoring, svn properties.
This commit is contained in:
@@ -224,14 +224,14 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler
|
||||
LSL_Types.Quaternion a2 = new LSL_Types.Quaternion(0.0, by, 0.0, bw);
|
||||
LSL_Types.Quaternion a3 = new LSL_Types.Quaternion(ax, 0.0, 0.0, aw);
|
||||
LSL_Types.Quaternion a = new LSL_Types.Quaternion();
|
||||
//This multiplication doesnt compile, yet. a = a1 * a2 * a3;
|
||||
//This multiplication doesn't compile, yet. a = a1 * a2 * a3;
|
||||
LSL_Types.Quaternion b = new LSL_Types.Quaternion(ax*bw*cw + aw*by*cz,
|
||||
aw*by*cw - ax*bw*cz, aw*bw*cz + ax*by*cw,
|
||||
aw*bw*cw - ax*by*cz);
|
||||
LSL_Types.Quaternion c = new LSL_Types.Quaternion();
|
||||
//This addition doesnt compile yet c = a + b;
|
||||
//This addition doesn't compile yet c = a + b;
|
||||
LSL_Types.Quaternion d = new LSL_Types.Quaternion();
|
||||
//This addition doesnt compile yet d = a - b;
|
||||
//This addition doesn't compile yet d = a - b;
|
||||
if ((Math.Abs(c.X) > err && Math.Abs(d.X) > err) ||
|
||||
(Math.Abs(c.Y) > err && Math.Abs(d.Y) > err) ||
|
||||
(Math.Abs(c.Z) > err && Math.Abs(d.Z) > err) ||
|
||||
|
||||
Reference in New Issue
Block a user