mirror of https://github.com/bjornbytes/lovr.git
Clean up includes;
This commit is contained in:
parent
8f3bf3cbe2
commit
27c914664c
|
@ -1,10 +1,8 @@
|
|||
#include "audio/audio.h"
|
||||
#include "loaders/source.h"
|
||||
#include "math/vec3.h"
|
||||
#include "math/quat.h"
|
||||
#include "util.h"
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
|
||||
static AudioState state;
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#include "audio/source.h"
|
||||
#include "loaders/source.h"
|
||||
#include <float.h>
|
||||
#define _USE_MATH_DEFINES
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
static ALenum lovrSourceGetFormat(Source* source) {
|
||||
int channels = source->sourceData->channels;
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include <physfs.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifdef __APPLE__
|
||||
#include <mach-o/dyld.h>
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#include "filesystem/blob.h"
|
||||
#include "lib/glfw.h"
|
||||
#include "lib/glad/glad.h"
|
||||
#include "util.h"
|
||||
|
||||
#pragma once
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
#include "loaders/model.h"
|
||||
#include "math/mat4.h"
|
||||
#include <stdlib.h>
|
||||
#include <assimp/scene.h>
|
||||
#include <assimp/cimport.h>
|
||||
#include <assimp/scene.h>
|
||||
#include <assimp/mesh.h>
|
||||
#include <assimp/matrix4x4.h>
|
||||
#include <assimp/vector3.h>
|
||||
#include <assimp/postprocess.h>
|
||||
|
||||
static void assimpNodeTraversal(ModelNode* node, struct aiNode* assimpNode) {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "filesystem/blob.h"
|
||||
#include "lib/glfw.h"
|
||||
#include "lib/glad/glad.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#pragma once
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
#include "math/quat.h"
|
||||
#include "math/vec3.h"
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
// m0 m4 m8 m12
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#include "math/quat.h"
|
||||
#include "math/vec3.h"
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
quat quat_init(quat q, quat r) {
|
||||
return quat_set(q, r[0], r[1], r[2], r[3]);
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#include "transform.h"
|
||||
#include "math/mat4.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
Transform* lovrTransformCreate(mat4 transfrom) {
|
||||
Transform* transform = lovrAlloc(sizeof(Transform), lovrTransformDestroy);
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#include "math/vec3.h"
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
vec3 vec3_init(vec3 v, vec3 u) {
|
||||
return vec3_set(v, u[0], u[1], u[2]);
|
||||
|
|
Loading…
Reference in New Issue