From: matthew Date: Sat, 3 Nov 2018 21:36:07 +0000 (+0000) Subject: removed extranious function call & speed setting X-Git-Url: https://git.owens.tech/editable-focus.html/editable-focus.html/git?a=commitdiff_plain;h=4c845d513b2acabb08152757c490061c34d46e0c;p=csrpg.git removed extranious function call & speed setting --- diff --git a/gl/main.c b/gl/main.c index 6084bac..24e4058 100644 --- a/gl/main.c +++ b/gl/main.c @@ -101,7 +101,6 @@ static void initShapes() static void initView() { camera = crpgCameraNew(vec3(0,0,3), vec3(0,1,0)); - crpgCameraSetSpeed(camera, 20); crpgCubeSetCamera(cubes[0], crpgCameraGetMat(camera)); crpgCubeSetCamera(cubes[1], crpgCameraGetMat(camera)); @@ -174,8 +173,6 @@ static void update() static void render() { - crpgCameraRender(camera, crpgTimeStepDelta()); - glClearColor(0.2, 0.3, 0.3, 1.0); glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);