Refactored.
This commit is contained in:
@ -7,16 +7,6 @@
|
||||
|
||||
#include "camera.h"
|
||||
|
||||
camera_t * cameraCreate() {
|
||||
camera_t *camera = malloc(sizeof(camera_t));
|
||||
if(!camera) return NULL;
|
||||
return camera;
|
||||
}
|
||||
|
||||
void cameraDispose(camera_t *camera) {
|
||||
free(camera);
|
||||
}
|
||||
|
||||
void cameraLookAt(camera_t *camera,
|
||||
float x, float y, float z, float targetX, float targetY, float targetZ
|
||||
) {
|
||||
|
Reference in New Issue
Block a user