/[gr2lib]/trunk/gr2lib/core/coretypes/implementation/Transform.cs
ViewVC logotype

Diff of /trunk/gr2lib/core/coretypes/implementation/Transform.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 83 by william, Fri Jul 16 21:26:08 2010 UTC revision 95 by william, Sat Jul 17 05:10:22 2010 UTC
# Line 56  namespace gr2lib.core.coretypes.implemen Line 56  namespace gr2lib.core.coretypes.implemen
56          {          {
57              Transform managed = new Transform();              Transform managed = new Transform();
58              managed.Dimensions = native.Dimensions;              managed.Dimensions = native.Dimensions;
59              managed.Origin = new Vector3(native.Origin.x, native.Origin.y, native.Origin.z);              managed.Origin = new Vector3(native.Origin.X, native.Origin.Y, native.Origin.Z);
60              managed.Rotation = new Quaternion(native.Rotation.X, native.Rotation.Y, native.Rotation.Z, native.Rotation.W);              managed.Rotation = new Quaternion(native.Rotation.X, native.Rotation.Y, native.Rotation.Z, native.Rotation.W);
61              managed.Scale = new Matrix33(native.Scale);              managed.Scale = new Matrix33(native.Scale);
62              managed.Matrix = managed.ToMatrix44();              managed.Matrix = managed.ToMatrix44();

Legend:
Removed from v.83  
changed lines
  Added in v.95

  ViewVC Help
Powered by ViewVC 1.1.22