载入中...
搜索中...
未找到
eve::rts::terrain_internal 命名空间参考

函数

template<class HeightAt >
std::optional< float > firstTerrainImpact (float fromX, float fromY, float fromHeight, float toX, float toY, float toHeight, float originX, float originY, float cellSize, const HeightAt &heightAt)
 

函数说明

◆ firstTerrainImpact()

template<class HeightAt >
std::optional< float > eve::rts::terrain_internal::firstTerrainImpact ( float  fromX,
float  fromY,
float  fromHeight,
float  toX,
float  toY,
float  toHeight,
float  originX,
float  originY,
float  cellSize,
const HeightAt &  heightAt 
)

在文件 RTSTerrainTraceInternal.h 第 14 行定义.

引用了 dx, dy, terrain, x , 以及 y.