Image Update
This commit is contained in:
@ -42,4 +42,19 @@ void pokerFrameGui(poker_t *poker, render_t *render) {
|
||||
|
||||
void pokerFrameRender(poker_t *poker, render_t *render) {
|
||||
|
||||
}
|
||||
|
||||
void pokerFrameTest(poker_t *poker, render_t *render) {
|
||||
// Correct the aspect on the perspective camera for the world
|
||||
cameraPerspective(&poker->cameraTest, 20,
|
||||
render->width / render->height,
|
||||
0.001, 1000
|
||||
);
|
||||
|
||||
cameraLookAt(&poker->cameraTest,
|
||||
0, 0.25, -1,
|
||||
0, 0.25, 0.5
|
||||
);
|
||||
|
||||
shaderUseCamera(&poker->shader, &poker->cameraTest);
|
||||
}
|
Reference in New Issue
Block a user