Back to floats.
This commit is contained in:
@@ -61,6 +61,26 @@ void spriteBatchPush(
|
||||
const float_t v1
|
||||
);
|
||||
|
||||
/**
|
||||
* Pushes a 3D sprite to the batch. This is like spriteBatchPush but takes
|
||||
* 3D coordinates instead of 2D.
|
||||
*
|
||||
* @param texture The texture to use for the sprite.
|
||||
* @param min The minimum (x,y,z) coordinate of the sprite.
|
||||
* @param max The maximum (x,y,z) coordinate of the sprite.
|
||||
* @param color The color to tint the sprite with.
|
||||
* @param uvMin The texture coordinate for the top-left corner of the sprite.
|
||||
* @param uvMax The texture coordinate for the bottom-right corner of the sprite.
|
||||
*/
|
||||
void spriteBatchPush3D(
|
||||
texture_t *texture,
|
||||
const vec3 min,
|
||||
const vec3 max,
|
||||
const color_t color,
|
||||
const vec2 uvMin,
|
||||
const vec2 uvMax
|
||||
);
|
||||
|
||||
/**
|
||||
* Clears the sprite batch. This will mean calling flush renders nothing.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user