Update OBB.cpp
All checks were successful
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 58s
All checks were successful
Build Docs With Doxygen / Explore-Gitea-Actions (push) Successful in 58s
Constructor
This commit is contained in:
@@ -438,6 +438,14 @@ namespace J3ML::Geometry
|
||||
return m;
|
||||
}
|
||||
|
||||
OBB::OBB(const Vector3 &pos, const Vector3 &radii, const Vector3 &axis0, const Vector3 &axis1, const Vector3 &axis2) {
|
||||
this->pos = pos;
|
||||
this->r = radii;
|
||||
this->axis[0] = axis0;
|
||||
this->axis[1] = axis1;
|
||||
this->axis[2] = axis2;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user