载入中...
搜索中...
未找到
eve::gpuagents::detail::NeighborAccum结构体 参考

NeighborAccum public API. 更多...

#include <BoidsCommon.h>

Public 属性

glm::vec3 separation {0.f}
 
glm::vec3 cohesionPos {0.f}
 
glm::vec3 alignmentVel {0.f}
 
float sepWeightSum = 0.f
 
float cohWeightSum = 0.f
 
float aliWeightSum = 0.f
 
int samples = 0
 

详细描述

NeighborAccum public API.

在文件 BoidsCommon.h 第 33 行定义.

类成员变量说明

◆ alignmentVel

glm::vec3 eve::gpuagents::detail::NeighborAccum::alignmentVel {0.f}

在文件 BoidsCommon.h 第 36 行定义.

被这些函数引用 eve::gpuagents::detail::gatherNeighbors().

◆ aliWeightSum

float eve::gpuagents::detail::NeighborAccum::aliWeightSum = 0.f

在文件 BoidsCommon.h 第 39 行定义.

被这些函数引用 eve::gpuagents::detail::gatherNeighbors().

◆ cohesionPos

glm::vec3 eve::gpuagents::detail::NeighborAccum::cohesionPos {0.f}

在文件 BoidsCommon.h 第 35 行定义.

被这些函数引用 eve::gpuagents::detail::gatherNeighbors().

◆ cohWeightSum

float eve::gpuagents::detail::NeighborAccum::cohWeightSum = 0.f

在文件 BoidsCommon.h 第 38 行定义.

被这些函数引用 eve::gpuagents::detail::gatherNeighbors().

◆ samples

int eve::gpuagents::detail::NeighborAccum::samples = 0

在文件 BoidsCommon.h 第 40 行定义.

被这些函数引用 eve::gpuagents::detail::gatherNeighbors().

◆ separation

glm::vec3 eve::gpuagents::detail::NeighborAccum::separation {0.f}

在文件 BoidsCommon.h 第 34 行定义.

被这些函数引用 eve::gpuagents::detail::gatherNeighbors().

◆ sepWeightSum

float eve::gpuagents::detail::NeighborAccum::sepWeightSum = 0.f

在文件 BoidsCommon.h 第 37 行定义.

被这些函数引用 eve::gpuagents::detail::gatherNeighbors().


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