Implement AABB::Intersects(Triangle)
This commit is contained in:
@@ -8,5 +8,10 @@ namespace J3ML::Geometry
|
||||
Vector3 V0;
|
||||
Vector3 V1;
|
||||
Vector3 V2;
|
||||
|
||||
bool Intersects(const AABB& aabb) const
|
||||
{
|
||||
return aabb.Intersects(*this);
|
||||
}
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user