VEX Engine
Retro looking game engine made in vulkan mostly because i wanted to understand it better.
Loading...
Searching...
No Matches
vex::RaycastHit Struct Reference

Structure representing a raycast hit. More...

#include <PhysicsSystem.hpp>

Public Attributes

JPH::BodyID bodyId
float distance
glm::vec3 position
glm::vec3 normal

Detailed Description

Structure representing a raycast hit.

Definition at line 92 of file PhysicsSystem.hpp.

Member Data Documentation

◆ bodyId

JPH::BodyID vex::RaycastHit::bodyId

Definition at line 93 of file PhysicsSystem.hpp.

◆ distance

float vex::RaycastHit::distance

Definition at line 94 of file PhysicsSystem.hpp.

◆ normal

glm::vec3 vex::RaycastHit::normal

Definition at line 96 of file PhysicsSystem.hpp.

◆ position

glm::vec3 vex::RaycastHit::position

Definition at line 95 of file PhysicsSystem.hpp.


The documentation for this struct was generated from the following file: