Assignment for RMIT Mixed Reality in 2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
919 B

  1. /************************************************************************************
  2. Copyright (c) Facebook Technologies, LLC and its affiliates. All rights reserved.
  3. See SampleFramework license.txt for license terms. Unless required by applicable law
  4. or agreed to in writing, the sample code is provided AS IS WITHOUT WARRANTIES OR
  5. CONDITIONS OF ANY KIND, either express or implied. See the license for specific
  6. language governing permissions and limitations under the license.
  7. ************************************************************************************/
  8. using UnityEngine;
  9. namespace OculusSampleFramework
  10. {
  11. public class Pose
  12. {
  13. public Vector3 Position;
  14. public Quaternion Rotation;
  15. public Pose()
  16. {
  17. Position = Vector3.zero;
  18. Rotation = Quaternion.identity;
  19. }
  20. public Pose(Vector3 position, Quaternion rotation)
  21. {
  22. Position = position;
  23. Rotation = rotation;
  24. }
  25. }
  26. }