Polyphase Game Engine
Loading...
Searching...
No Matches
VoxelRayResult Struct Reference

#include <Voxel3d.h>

Public Attributes

bool mHit = false
 
glm::ivec3 mVoxel = { 0, 0, 0 }
 
glm::ivec3 mPrevVoxel = { -1, -1, -1 }
 
glm::vec3 mHitPosition = { 0.0f, 0.0f, 0.0f }
 
VoxelType mValue = 0
 

Member Data Documentation

◆ mHit

bool VoxelRayResult::mHit = false

◆ mHitPosition

glm::vec3 VoxelRayResult::mHitPosition = { 0.0f, 0.0f, 0.0f }

◆ mPrevVoxel

glm::ivec3 VoxelRayResult::mPrevVoxel = { -1, -1, -1 }

◆ mValue

VoxelType VoxelRayResult::mValue = 0

◆ mVoxel

glm::ivec3 VoxelRayResult::mVoxel = { 0, 0, 0 }

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