1
0
forked from josh/j3ml

Implement J3ML Namespace

This commit is contained in:
2024-02-02 13:53:23 -05:00
parent d37b685df9
commit 9a5f12e505
45 changed files with 108 additions and 99 deletions

View File

@@ -6,7 +6,7 @@
#include <functional>
namespace Math
namespace J3ML::Math
{
const float Pi = M_PI;
inline float Radians(float degrees) { return degrees * (Pi/180.f); }
@@ -29,7 +29,7 @@ namespace Math
// Dawsh Linear Algebra Library - Everything you need for 3D math
namespace LinearAlgebra {
namespace J3ML::LinearAlgebra {
class Vector2; // A type representing a position in a 2-dimensional coordinate space.
class Vector3; // A type representing a position in a 3-dimensional coordinate space.
class Vector4; // A type representing a position in a 4-dimensional coordinate space.