Namespace: DeltaEngine.Tests.Entities
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test] public void CreateHierarchyObjectWithRotation() { var axis = Vector3D.UnitY; const float Angle = 180.0f; var unitXHierarchyObject = new SimpleHierarchyObject3D { Orientation = Quaternion.FromAxisAngle(axis, Angle) }; Assert.AreEqual(Vector3D.UnitY, unitXHierarchyObject.Orientation.Vector3D); }
See Also