VEX Engine
Retro looking game engine made in vulkan mostly because i wanted to understand it better.
Loading...
Searching...
No Matches
PhysicsSystem.hpp File Reference

This file defines PhysicsSystem class. More...

#include "components/ECS/ECS.hpp"
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtx/euler_angles.hpp>
#include <glm/gtx/quaternion.hpp>
#include <mutex>
#include <optional>
#include <vector>
#include <unordered_map>
#include <functional>
#include <memory>
#include <components/GameComponents/BasicComponents.hpp>
#include <components/GameComponents/CharacterComponent.hpp>
#include "components/JoltSafe.hpp"
#include <map>

Go to the source code of this file.

Classes

struct  vex::BodyIDHasher
 Hasher for JPH::BodyID. More...
class  vex::BPLayerInterfaceImpl
 Implementation of JPH::BroadPhaseLayerInterface for the default layer. More...
class  vex::ObjectVsBroadPhaseLayerFilterImpl
 Implementation of JPH::ObjectVsBroadPhaseLayerFilter for the default layer. More...
class  vex::ObjectLayerPairFilterImpl
 Implementation of JPH::ObjectLayerPairFilter for the default layer. More...
class  vex::MyActivationListener
 Implementation of JPH::BodyActivationListener for the default layer. More...
struct  vex::CollisionHit
 Structure representing a collision hit. More...
struct  vex::RaycastHit
 Structure representing a raycast hit. More...
struct  vex::PhysicsComponent
 Structure representing a physics component. More...
class  vex::PhysicsSystem
 Class representing a physics system. More...
struct  vex::PhysicsSystem::InterpCache
class  vex::MyContactListener
class  vex::DebugDrawFilter
 Implementation of JPH::BodyDrawFilter for debugging physics bodies. More...

Namespaces

namespace  vex

Macros

#define GLM_ENABLE_EXPERIMENTAL   1

Enumerations

enum class  vex::ShapeType {
  BOX , ROUNDED_BOX , SPHERE , CAPSULE ,
  CYLINDER , CONVEX_HULL , MESH
}
 Enumeration of available shape types for physics components. More...
enum class  vex::BodyType { STATIC , DYNAMIC , KINEMATIC , SENSOR }
 Enumeration of available body types for physics components. More...

Detailed Description

This file defines PhysicsSystem class.

Author
Eryk Roszkowski

Definition in file PhysicsSystem.hpp.

Macro Definition Documentation

◆ GLM_ENABLE_EXPERIMENTAL

#define GLM_ENABLE_EXPERIMENTAL   1

Definition at line 10 of file PhysicsSystem.hpp.