Physics Simulation & Visualization Tool 0.1
A C++ physics simulation engine with real-time 3D visualization
Loading...
Searching...
No Matches
ICollider.h File Reference

Abstract interface for collision detection shapes. More...

#include <glm/glm.hpp>
#include <memory>
#include <optional>
#include "math/Ray.h"
Include dependency graph for ICollider.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Physics::Bounding::ContactInfo
 Contact point information from collision queries. More...
 
interface  Physics::Bounding::ICollider
 Abstract base class for collision volumes in the physics engine. More...
 

Namespaces

namespace  Physics::Bounding
 Bounding volume and collision shape definitions.
 
namespace  Physics
 

Macros

#define GLM_ENABLE_EXPERIMENTAL
 

Detailed Description

Abstract interface for collision detection shapes.

Definition in file ICollider.h.


Data Structure Documentation

◆ Physics::Bounding::ContactInfo

struct Physics::Bounding::ContactInfo

Contact point information from collision queries.

Represents the geometric details of a collision or proximity query. Used for both collision resolution and visualization.

Definition at line 35 of file ICollider.h.

Data Fields
vec3 normal Surface normal at contact point (points outward from surface)
float penetration Penetration depth (positive = overlapping, negative = separated)
vec3 point Contact point in world space (closest point on surface)

Macro Definition Documentation

◆ GLM_ENABLE_EXPERIMENTAL

#define GLM_ENABLE_EXPERIMENTAL

Definition at line 8 of file ICollider.h.