MathTypes.h 476 B

123456789101112131415161718192021222324252627
  1. // SPDX-FileCopyrightText: 2021 Jorrit Rouwe
  2. // SPDX-License-Identifier: MIT
  3. #pragma once
  4. JPH_NAMESPACE_BEGIN
  5. class Vec3;
  6. class DVec3;
  7. class Vec4;
  8. class UVec4;
  9. class Vec8;
  10. class UVec8;
  11. class Quat;
  12. class Mat44;
  13. // Types to use for passing arguments to functions
  14. using Vec3Arg = Vec3;
  15. using DVec3Arg = DVec3;
  16. using Vec4Arg = Vec4;
  17. using UVec4Arg = UVec4;
  18. using Vec8Arg = Vec8;
  19. using UVec8Arg = UVec8;
  20. using QuatArg = Quat;
  21. using Mat44Arg = const Mat44 &;
  22. JPH_NAMESPACE_END