载入中...
搜索中...
未找到
eve::procgen::Bounds结构体 参考

Axis-aligned bounds in the artifact's declared world coordinate space. 更多...

#include <GeneratedArtifact.h>

Public 成员函数

void include (float x, float y, float z) noexcept
 Expand this box to include one point.
 
bool isValid () const noexcept
 Return whether the box encloses at least one point.
 

Public 属性

float minX = 0.f
 
float minY = 0.f
 
float minZ = 0.f
 
float maxX = 0.f
 
float maxY = 0.f
 
float maxZ = 0.f
 
bool valid = false
 

详细描述

Axis-aligned bounds in the artifact's declared world coordinate space.

在文件 GeneratedArtifact.h 第 93 行定义.

成员函数说明

◆ include()

void eve::procgen::Bounds::include ( float  x,
float  y,
float  z 
)
noexcept

Expand this box to include one point.

在文件 GeneratedArtifact.cpp 第 1200 行定义.

引用了 valid, x, y , 以及 z.

被这些函数引用 eve::procgen::generateRoadNetworkArtifact().

◆ isValid()

bool eve::procgen::Bounds::isValid ( ) const
inlinenoexcept

Return whether the box encloses at least one point.

在文件 GeneratedArtifact.h 第 105 行定义.

引用了 valid.

类成员变量说明

◆ maxX

float eve::procgen::Bounds::maxX = 0.f

在文件 GeneratedArtifact.h 第 97 行定义.

◆ maxY

float eve::procgen::Bounds::maxY = 0.f

在文件 GeneratedArtifact.h 第 98 行定义.

◆ maxZ

float eve::procgen::Bounds::maxZ = 0.f

在文件 GeneratedArtifact.h 第 99 行定义.

◆ minX

float eve::procgen::Bounds::minX = 0.f

在文件 GeneratedArtifact.h 第 94 行定义.

◆ minY

float eve::procgen::Bounds::minY = 0.f

在文件 GeneratedArtifact.h 第 95 行定义.

◆ minZ

float eve::procgen::Bounds::minZ = 0.f

在文件 GeneratedArtifact.h 第 96 行定义.

◆ valid

bool eve::procgen::Bounds::valid = false

在文件 GeneratedArtifact.h 第 100 行定义.


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