Crimson Engine 1.0.0
A high-performance C++20 game engine prototype showcasing a custom ECS, Vulkan renderer, and ImGui editor.
Loading...
Searching...
No Matches
Engine::RaycastHit Struct Reference

#include <PhysicsSystem.hpp>

Public Attributes

bool hit = false
Entity entity
float distance = std::numeric_limits<float>::max()
glm::vec3 position {0.0f}
glm::vec3 normal {0.0f}

Member Data Documentation

◆ distance

float Engine::RaycastHit::distance = std::numeric_limits<float>::max()

◆ entity

Entity Engine::RaycastHit::entity

◆ hit

bool Engine::RaycastHit::hit = false

◆ normal

glm::vec3 Engine::RaycastHit::normal {0.0f}

◆ position

glm::vec3 Engine::RaycastHit::position {0.0f}

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