Added shapes to debug renderer

This commit is contained in:
Antoine Pilote
2024-08-16 17:55:35 -04:00
parent 1685921a5a
commit 4d1feb9802
19 changed files with 36028 additions and 200 deletions

View File

@@ -62,6 +62,11 @@ namespace Nuake
rot = glm::quat_cast(rotMtx);
}
float Distance(const Vector3& a, const Vector3& b)
{
return glm::distance(a, b);
}
const Matrix4& TransformToCameraTransform(const Matrix4& mat)
{
return mat;