VOX
A little voxel engine
Loading...
Searching...
No Matches
RayCastOnBlockResult Struct Reference

#include <Player.hpp>

Collaboration diagram for RayCastOnBlockResult:
Collaboration graph

Public Attributes

bool hit
 
glm::vec3 block_position
 
glm::vec3 normal
 
glm::vec3 hit_position
 
BlockInfo::Type block
 
bool inside_block
 

Member Data Documentation

◆ block

BlockInfo::Type RayCastOnBlockResult::block

◆ block_position

glm::vec3 RayCastOnBlockResult::block_position

◆ hit

bool RayCastOnBlockResult::hit

◆ hit_position

glm::vec3 RayCastOnBlockResult::hit_position

◆ inside_block

bool RayCastOnBlockResult::inside_block

◆ normal

glm::vec3 RayCastOnBlockResult::normal

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