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

2D cone/sector shape for QuerySpec (World2D). 更多...

#include <Sensing.h>

Public 属性

float x = 0.f
 
float y = 0.f
 
float dirX = 1.f
 
float dirY = 0.f
 
float halfAngle = 0.f
 
float range = 0.f
 

详细描述

2D cone/sector shape for QuerySpec (World2D).

Apex is (x,y). (dirX,dirY) is the forward axis (normalized on use). halfAngle is radians in [0, pi]; range is non-negative distance from the apex.

在文件 Sensing.h 第 78 行定义.

类成员变量说明

◆ dirX

float eve::sensing::QueryCone::dirX = 1.f

在文件 Sensing.h 第 81 行定义.

◆ dirY

float eve::sensing::QueryCone::dirY = 0.f

在文件 Sensing.h 第 82 行定义.

◆ halfAngle

float eve::sensing::QueryCone::halfAngle = 0.f

在文件 Sensing.h 第 83 行定义.

◆ range

float eve::sensing::QueryCone::range = 0.f

在文件 Sensing.h 第 84 行定义.

◆ x

float eve::sensing::QueryCone::x = 0.f

在文件 Sensing.h 第 79 行定义.

◆ y

float eve::sensing::QueryCone::y = 0.f

在文件 Sensing.h 第 80 行定义.


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