diff options
| author | sschirm <[email protected]> | 2016-12-23 14:20:36 +0100 |
|---|---|---|
| committer | sschirm <[email protected]> | 2016-12-23 14:56:17 +0100 |
| commit | ef6937e69e8ee3f409cf9d460d5ad300a65d5924 (patch) | |
| tree | 710426e8daa605551ce3f34b581897011101c30f /PhysX_3.4/Snippets/SnippetRender/SnippetRender.h | |
| parent | Initial commit: (diff) | |
| download | physx-3.4-ef6937e69e8ee3f409cf9d460d5ad300a65d5924.tar.xz physx-3.4-ef6937e69e8ee3f409cf9d460d5ad300a65d5924.zip | |
PhysX 3.4 / APEX 1.4 release candidate @21506124
Diffstat (limited to 'PhysX_3.4/Snippets/SnippetRender/SnippetRender.h')
| -rw-r--r-- | PhysX_3.4/Snippets/SnippetRender/SnippetRender.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PhysX_3.4/Snippets/SnippetRender/SnippetRender.h b/PhysX_3.4/Snippets/SnippetRender/SnippetRender.h index 0281aeb0..328e4955 100644 --- a/PhysX_3.4/Snippets/SnippetRender/SnippetRender.h +++ b/PhysX_3.4/Snippets/SnippetRender/SnippetRender.h @@ -51,7 +51,7 @@ namespace Snippets void setupDefaultWindow(const char* name); void setupDefaultRenderState(); -void startRender(const physx::PxVec3& cameraEye, const physx::PxVec3& cameraDir); +void startRender(const physx::PxVec3& cameraEye, const physx::PxVec3& cameraDir, physx::PxReal nearClip = 1.f, physx::PxReal farClip = 10000.f); void renderActors(physx::PxRigidActor** actors, const physx::PxU32 numActors, bool shadows = false, const physx::PxVec3 & color = physx::PxVec3(0.0f, 0.75f, 0.0f)); void finishRender(); } |