23 lines
502 B
C
23 lines
502 B
C
/**
|
|
* Copyright (c) 2026 Dominic Masters
|
|
*
|
|
* This software is released under the MIT License.
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
#include "modulemath.h"
|
|
#include "modulevec2.h"
|
|
#include "modulevec3.h"
|
|
#include "modulevec4.h"
|
|
#include "modulemat4.h"
|
|
#include "assert/assert.h"
|
|
|
|
void moduleMath(scriptcontext_t *ctx) {
|
|
assertNotNull(ctx, "Script context cannot be NULL");
|
|
lua_State *L = ctx->luaState;
|
|
moduleMathVec2(L);
|
|
moduleMathVec3(L);
|
|
moduleMathVec4(L);
|
|
moduleMathMat4(L);
|
|
}
|