mirror of https://github.com/bjornbytes/lovr.git
util: rm vec_uint;
This commit is contained in:
parent
148a2bdb45
commit
05802f3e90
|
@ -1,4 +1,5 @@
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
@ -24,6 +24,8 @@ typedef struct {
|
||||||
int boneCount;
|
int boneCount;
|
||||||
} ModelPrimitive;
|
} ModelPrimitive;
|
||||||
|
|
||||||
|
typedef vec_t(unsigned int) vec_uint_t;
|
||||||
|
|
||||||
typedef struct ModelNode {
|
typedef struct ModelNode {
|
||||||
const char* name;
|
const char* name;
|
||||||
float transform[16];
|
float transform[16];
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#include "data/blob.h"
|
#include "data/blob.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
#include "lib/vec/vec.h"
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#include "lib/vec/vec.h"
|
|
||||||
#include "lib/tinycthread/tinycthread.h"
|
#include "lib/tinycthread/tinycthread.h"
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
@ -9,8 +8,6 @@
|
||||||
#define lovrAssert(c, ...) if (!(c)) { lovrThrow(__VA_ARGS__); }
|
#define lovrAssert(c, ...) if (!(c)) { lovrThrow(__VA_ARGS__); }
|
||||||
#define lovrAlloc(T, destructor) (T*) _lovrAlloc(#T, sizeof(T), destructor)
|
#define lovrAlloc(T, destructor) (T*) _lovrAlloc(#T, sizeof(T), destructor)
|
||||||
|
|
||||||
typedef vec_t(unsigned int) vec_uint_t;
|
|
||||||
|
|
||||||
typedef struct ref {
|
typedef struct ref {
|
||||||
int count;
|
int count;
|
||||||
const char* type;
|
const char* type;
|
||||||
|
|
Loading…
Reference in New Issue