feat: new block custom models implementation (WIP)
This commit is contained in:
@@ -597,8 +597,7 @@ glm::vec3 Chunks::rayCastToObstacle(
|
||||
if (def.obstacle) {
|
||||
if (!def.rt.solid) {
|
||||
const std::vector<AABB>& hitboxes =
|
||||
def.rotatable ? def.rt.hitboxes[voxel->state.rotation]
|
||||
: def.modelBoxes;
|
||||
def.rt.hitboxes[voxel->state.rotation];
|
||||
|
||||
scalar_t distance;
|
||||
glm::ivec3 norm;
|
||||
|
||||
Reference in New Issue
Block a user