playing around with clipping; fix ps2 build

This commit is contained in:
aap
2021-02-11 16:39:14 +01:00
parent 5c95300890
commit 14dab85dca
4 changed files with 113 additions and 15 deletions

View File

@ -300,7 +300,8 @@ InitRW(void)
Scene.camera = sk::CameraCreate(sk::globals.width, sk::globals.height, 1);
camera->m_rwcam = Scene.camera;
camera->m_aspectRatio = 640.0f/448.0f;
camera->m_near = 0.5f;
// camera->m_near = 0.5f;
camera->m_near = 1.5f;
// camera->m_far = 450.0f;
camera->m_far = 15.0f;
camera->m_target.set(0.0f, 0.0f, 0.0f);
@ -456,7 +457,7 @@ Draw(float timeDelta)
extern void beginSoftras(void);
beginSoftras();
// gen::tlTest(Scene.clump);
gen::tlTest(Scene.clump);
void drawtest(void);
// drawtest();
@ -472,7 +473,7 @@ extern void endSoftras(void);
// testfont->print("foo ABC", 200, 200, true);
rendersplines();
// rendersplines();
camera->m_rwcam->endUpdate();