New helper function for drawing meters
This commit is contained in:
parent
746d862e84
commit
15ff516b53
@ -109,7 +109,9 @@ private:
|
||||
float min_ratio, int meter_width,
|
||||
int meter_height, float dt);
|
||||
|
||||
/* Helper function for drawing meters */
|
||||
/* Helper functions for drawing meters */
|
||||
|
||||
void drawMeterTexture(video::ITexture *meter_texture, video::S3DVertex vertices[], unsigned int count);
|
||||
|
||||
unsigned int computeVerticesForMeter(core::vector2df position[], float threshold[], video::S3DVertex vertices[],
|
||||
unsigned int vertices_count, float measure, int gauge_width,
|
||||
|
Loading…
x
Reference in New Issue
Block a user