mirror of https://github.com/bjornbytes/lovr.git
Freeze! GCC police;
This commit is contained in:
parent
fdb4db2297
commit
dc6de4ca14
|
@ -3,11 +3,11 @@
|
|||
typedef struct Curve Curve;
|
||||
Curve* lovrCurveCreate(void);
|
||||
void lovrCurveDestroy(void* ref);
|
||||
void lovrCurveEvaluate(Curve* curve, float t, float point[4]);
|
||||
void lovrCurveGetTangent(Curve* curve, float t, float point[4]);
|
||||
void lovrCurveEvaluate(Curve* curve, float t, float* point);
|
||||
void lovrCurveGetTangent(Curve* curve, float t, float* point);
|
||||
Curve* lovrCurveSlice(Curve* curve, float t1, float t2);
|
||||
size_t lovrCurveGetPointCount(Curve* curve);
|
||||
void lovrCurveGetPoint(Curve* curve, size_t index, float point[4]);
|
||||
void lovrCurveSetPoint(Curve* curve, size_t index, float point[4]);
|
||||
void lovrCurveAddPoint(Curve* curve, float point[4], size_t index);
|
||||
void lovrCurveGetPoint(Curve* curve, size_t index, float* point);
|
||||
void lovrCurveSetPoint(Curve* curve, size_t index, float* point);
|
||||
void lovrCurveAddPoint(Curve* curve, float* point, size_t index);
|
||||
void lovrCurveRemovePoint(Curve* curve, size_t index);
|
||||
|
|
|
@ -31,7 +31,7 @@ typedef struct Color { float r, g, b, a; } Color;
|
|||
// Error handling
|
||||
typedef void errorFn(void*, const char*, va_list);
|
||||
void lovrSetErrorCallback(errorFn* callback, void* userdata);
|
||||
void _Noreturn lovrThrow(const char* format, ...);
|
||||
_Noreturn void lovrThrow(const char* format, ...);
|
||||
#define lovrAssert(c, ...) if (!(c)) { lovrThrow(__VA_ARGS__); }
|
||||
|
||||
#ifdef LOVR_UNCHECKED
|
||||
|
|
Loading…
Reference in New Issue