mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-23 22:23:54 +00:00
18 lines
434 B
D
18 lines
434 B
D
|
module terrain.bindings;
|
||
|
|
||
|
alias void *SceneNode;
|
||
|
alias void *Bounds;
|
||
|
alias void *MeshObj;
|
||
|
|
||
|
extern(C):
|
||
|
|
||
|
SceneNode terr_createChildNode(float relX, float relY, SceneNode);
|
||
|
void terr_destroyNode(SceneNode);
|
||
|
Bounds terr_makeBounds(float minHeight, float maxHeight, float width);
|
||
|
float terr_getSqCamDist(Bounds);
|
||
|
MeshObj terr_makeMesh(int segment, SceneNode);
|
||
|
void terr_killMesh(MeshObj);
|
||
|
|
||
|
void terr_genData();
|
||
|
void terr_setupRendering();
|