diff options
author | aap <aap@papnet.eu> | 2021-01-19 20:42:16 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-19 20:42:16 +0100 |
commit | 7e136a792f381b4c1d310c7058d779e9e87aeb6c (patch) | |
tree | b7cac1f66f8b1ccfe2c34ff9b015de549c5d9733 /src/fakerw/fake.cpp | |
parent | PSP rendering and shader cleanup (diff) | |
download | re3-7e136a792f381b4c1d310c7058d779e9e87aeb6c.tar re3-7e136a792f381b4c1d310c7058d779e9e87aeb6c.tar.gz re3-7e136a792f381b4c1d310c7058d779e9e87aeb6c.tar.bz2 re3-7e136a792f381b4c1d310c7058d779e9e87aeb6c.tar.lz re3-7e136a792f381b4c1d310c7058d779e9e87aeb6c.tar.xz re3-7e136a792f381b4c1d310c7058d779e9e87aeb6c.tar.zst re3-7e136a792f381b4c1d310c7058d779e9e87aeb6c.zip |
Diffstat (limited to 'src/fakerw/fake.cpp')
-rw-r--r-- | src/fakerw/fake.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fakerw/fake.cpp b/src/fakerw/fake.cpp index 7f89c233..835cb849 100644 --- a/src/fakerw/fake.cpp +++ b/src/fakerw/fake.cpp @@ -411,6 +411,9 @@ void RwIm2DVertexSetRecipCameraZ(RwIm2DVertex *vert, RwReal recipz) { vert->setR void RwIm2DVertexSetScreenX(RwIm2DVertex *vert, RwReal scrnx) { vert->setScreenX(scrnx); } void RwIm2DVertexSetScreenY(RwIm2DVertex *vert, RwReal scrny) { vert->setScreenY(scrny); } void RwIm2DVertexSetScreenZ(RwIm2DVertex *vert, RwReal scrnz) { vert->setScreenZ(scrnz); } +float RwIm2DVertexGetScreenX(RwIm2DVertex *vert) { return vert->getScreenX(); } +float RwIm2DVertexGetScreenY(RwIm2DVertex *vert) { return vert->getScreenY(); } +float RwIm2DVertexGetScreenZ(RwIm2DVertex *vert) { return vert->getScreenZ(); } void RwIm2DVertexSetU(RwIm2DVertex *vert, RwReal texU, RwReal recipz) { vert->setU(texU, recipz); } void RwIm2DVertexSetV(RwIm2DVertex *vert, RwReal texV, RwReal recipz) { vert->setV(texV, recipz); } void RwIm2DVertexSetIntRGBA(RwIm2DVertex *vert, RwUInt8 red, RwUInt8 green, RwUInt8 blue, RwUInt8 alpha) { vert->setColor(red, green, blue, alpha); } |