SO3Engine
Functions | Variables
SCOLTerrain.cpp File Reference

Go to the source code of this file.

Functions

int SO3TerrainCreate (mmachine m)
 main include
 
int SO3TerrainDelete (mmachine m)
 SO3TerrainDelete : destroy a terrain.
 
int SO3TerrainSetHeightMap (mmachine m)
 SO3TerrainSetHeightMap : Define a terrain height map and params Every terrain parameters must be a value of 2^n + 1 the texture width/height also Prototype: fun [SO3_TERRAIN P F F I I] I.
 
int SCOLloadTerrain (mmachine m, cbmachine w)
 Load the SO3Engine Terrain function.
 
int SCOLfreeTerrain ()
 free the SO3Engine Terrain function
 

Variables

NativeDefinition natSO3Terrain []
 

Function Documentation

◆ SCOLfreeTerrain()

int SCOLfreeTerrain ( )

free the SO3Engine Terrain function

Parameters
m: The VM

Definition at line 209 of file SCOLTerrain.cpp.

◆ SCOLloadTerrain()

int SCOLloadTerrain ( mmachine  m,
cbmachine  w 
)

Load the SO3Engine Terrain function.

Parameters
m: The VM
w: The Callback VM

Definition at line 199 of file SCOLTerrain.cpp.

Variable Documentation

◆ natSO3Terrain

NativeDefinition natSO3Terrain[]
Initial value:
= {
{ "SO3TerrainCreate", 2, "fun [SO3_SCENE S] SO3_TERRAIN", SO3TerrainCreate },
{ "SO3TerrainDelete", 1, "fun [SO3_TERRAIN] I", SO3TerrainDelete },
{ "SO3TerrainSetHeightMap", 6, "fun [SO3_TERRAIN P F F I I] I", SO3TerrainSetHeightMap }
}
int SO3TerrainSetHeightMap(mmachine m)
SO3TerrainSetHeightMap : Define a terrain height map and params Every terrain parameters must be a va...
int SO3TerrainCreate(mmachine m)
main include
int SO3TerrainDelete(mmachine m)
SO3TerrainDelete : destroy a terrain.

Definition at line 187 of file SCOLTerrain.cpp.