载入中...
搜索中...
未找到

Six frustum planes in ax+by+cz+d >= 0 form (normals point inward). 更多...

#include <Frustum.h>

Public 成员函数

bool intersectsAABB (float minX, float minY, float minZ, float maxX, float maxY, float maxZ) const
 

静态 Public 成员函数

static Frustum fromViewProjColumnMajor (const float *m16)
 Extract from a column-major 4x4 view-projection matrix (RH + Vulkan ZO). Layout matches glm::mat4 memory order.
 

Public 属性

float planes [6][4] {}
 

详细描述

Six frustum planes in ax+by+cz+d >= 0 form (normals point inward).

在文件 Frustum.h8 行定义.

成员函数说明

◆ fromViewProjColumnMajor()

static Frustum eve::voxel::Frustum::fromViewProjColumnMajor ( const float *  m16)
inlinestatic

Extract from a column-major 4x4 view-projection matrix (RH + Vulkan ZO). Layout matches glm::mat4 memory order.

在文件 Frustum.h15 行定义.

引用了 a, b, c, d, f , 以及 m.

被这些函数引用 eve::voxel::VoxelWorld::selectVisible().

◆ intersectsAABB()

bool eve::voxel::Frustum::intersectsAABB ( float  minX,
float  minY,
float  minZ,
float  maxX,
float  maxY,
float  maxZ 
) const
inline

在文件 Frustum.h44 行定义.

引用了 p, planes, x, y , 以及 z.

类成员变量说明

◆ planes

float eve::voxel::Frustum::planes[6][4] {}

在文件 Frustum.h9 行定义.

被这些函数引用 intersectsAABB().


该结构体的文档由以下文件生成: