载入中...
搜索中...
未找到
类 | |
| struct | eve::voxel::DecodedRect |
| One decoded face rectangle in world space (mirrors voxel_rect.vert). 更多... | |
命名空间 | |
| namespace | eve |
| namespace | eve::voxel |
| 方块类型定义:名字、各面图集纹理、方向性、组合声明。 方向性方块在注册时按 orientation 绕 Y 轴展开成多个"具体类型"变体, 每个变体持有旋转后的各面纹理;渲染端只消费纹理 id,不接触 orientation。 | |
函数 | |
| DecodedRect | eve::voxel::decodePackedRect (PackedRect rect, FaceDir dir, float originX, float originY, float originZ, int tilesPerRow=16, uint32_t aoWord=0xFFu) |
| CPU mirror of the instanced voxel vertex shader placement / UV logic. Used by unit tests to validate packing ↔ geometry without a GPU. | |
| bool | eve::voxel::decodedWindingMatchesNormal (const DecodedRect &q) |
| True when triangle (0,2,1) winding matches outward normal (matches GPU index order). | |
| bool | eve::voxel::decodedSecondTriangleMatchesNormal (const DecodedRect &q) |
| True when the second GPU triangle (0,3,2) also matches the outward normal. | |