Implement by-Reference operators

This commit is contained in:
2024-02-14 18:12:02 -05:00
parent efead577a5
commit fd2e3f894a
10 changed files with 191 additions and 12 deletions

View File

@@ -24,7 +24,6 @@
namespace J3ML::Geometry
{
using namespace LinearAlgebra;
// A 3D axis-aligned bounding box
// This data structure can be used to represent coarse bounds of objects, in situations where detailed triangle-level
@@ -135,6 +134,7 @@ namespace J3ML::Geometry
AABB Intersection(const AABB& rhs) const;
bool IntersectLineAABB(const Vector3& linePos, const Vector3& lineDir, float tNear, float tFar) const;
void SetFrom(const Vector3 *pVector3, int i);
void SetFromCenterAndSize(const Vector3 &center, const Vector3 &size);