1#ifndef CollisionVolumeBSphere_H 
    2#define CollisionVolumeBSphere_H 
    4#include "CollisionVolume.h" 
   13class CollisionVolumeBSphere : 
public CollisionVolume, 
public Align16 
   16    CollisionVolumeBSphere();
 
   17    CollisionVolumeBSphere(
const CollisionVolumeBSphere&) = 
delete;
 
   18    CollisionVolumeBSphere& operator=(
const CollisionVolumeBSphere&) = 
delete;
 
   19    virtual ~CollisionVolumeBSphere() = 
default;
 
   26    void ComputeData(Model* mod, 
const Matrix& mat) 
override;
 
   40    void DebugView(
const Vect& col) 
const override;
 
   43    bool IntersectAccept(
const CollisionVolume& other) 
const override;
 
   44    bool IntersectVisit(
const CollisionVolumeBSphere& other) 
const override;
 
 
Definition Framework.h:1558
Represents an axis-aligned bounding box (AABB) collision volume.
Definition CollisionVolumeAABB.h:23
float radius
The radius of the bounding sphere.
Definition CollisionVolumeBSphere.h:57
Vect center
The center of the bounding sphere.
Definition CollisionVolumeBSphere.h:52
const Vect & GetCenter() const
Gets the center of the bounding sphere.
Definition CollisionVolumeBSphere.cpp:14
float GetRadius() const
Gets the radius of the bounding sphere.
Definition CollisionVolumeBSphere.cpp:19
void ComputeData(Model *mod, const Matrix &mat) override
Computes the collision data for the bounding sphere.
Definition CollisionVolumeBSphere.cpp:7
Represents an Oriented Bounding Box (OBB) collision volume.
Definition CollisionVolumeOBB.h:23