diff options
author | aap <aap@papnet.eu> | 2020-05-27 09:47:21 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-27 09:47:57 +0200 |
commit | 02741dc64faa907ded44265f17163505cf27eff9 (patch) | |
tree | 6e457468090a905093bb3a4c0e47f4245957de32 /src/fakerw/fake.cpp | |
parent | CVehicle loose ends (diff) | |
download | re3-02741dc64faa907ded44265f17163505cf27eff9.tar re3-02741dc64faa907ded44265f17163505cf27eff9.tar.gz re3-02741dc64faa907ded44265f17163505cf27eff9.tar.bz2 re3-02741dc64faa907ded44265f17163505cf27eff9.tar.lz re3-02741dc64faa907ded44265f17163505cf27eff9.tar.xz re3-02741dc64faa907ded44265f17163505cf27eff9.tar.zst re3-02741dc64faa907ded44265f17163505cf27eff9.zip |
Diffstat (limited to 'src/fakerw/fake.cpp')
-rw-r--r-- | src/fakerw/fake.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fakerw/fake.cpp b/src/fakerw/fake.cpp index 0c85728b..08d106f4 100644 --- a/src/fakerw/fake.cpp +++ b/src/fakerw/fake.cpp @@ -152,7 +152,7 @@ RwReal RwCameraGetNearClipPlane(const RwCamera *camera) { return camera->n RwReal RwCameraGetFarClipPlane(const RwCamera *camera) { return camera->farPlane; } RwCamera *RwCameraSetFogDistance(RwCamera *camera, RwReal fogDistance) { camera->fogPlane = fogDistance; return camera; } RwReal RwCameraGetFogDistance(const RwCamera *camera) { return camera->fogPlane; } -RwCamera *RwCameraGetCurrentCamera(void); +RwCamera *RwCameraGetCurrentCamera(void) { return rw::engine->currentCamera; } RwCameraProjection RwCameraGetProjection(const RwCamera *camera); const RwV2d *RwCameraGetViewWindow(const RwCamera *camera) { return &camera->viewWindow; } RwMatrix *RwCameraGetViewMatrix(RwCamera *camera) { return &camera->viewMatrix; } |