Simulant  21.06-50
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | Public Attributes | List of all members
smlt::TerrainData Struct Reference

Public Member Functions

optional< float > height_at_xz (const Vec2 &xz) const
 
optional< float > height_at_xz (float x, float z) const
 
optional< TerrainTriangletriangle_at_xz (const Vec2 &xz) const
 
optional< TerrainTriangletriangle_at_xz (float x, float z) const
 

Public Attributes

Meshterrain = nullptr
 
uint32_t x_size
 
uint32_t z_size
 
float max_height
 
float min_height
 
float grid_spacing
 
float one_over_grid_spacing
 

The documentation for this struct was generated from the following files: