mirror of
https://github.com/aap/librw.git
synced 2025-12-19 17:09:51 +00:00
some im2d
This commit is contained in:
@@ -143,6 +143,7 @@ struct Im2DVertex
|
||||
float getScreenY(void) { return this->y; }
|
||||
float getScreenZ(void) { return this->z; }
|
||||
float getCameraZ(void) { return this->w; }
|
||||
float getRecipCameraZ(void) { return 1.0f/this->w; }
|
||||
RGBA getColor(void) { return makeRGBA(this->r, this->g, this->b, this->a); }
|
||||
float getU(void) { return this->u; }
|
||||
float getV(void) { return this->v; }
|
||||
|
||||
Reference in New Issue
Block a user