fix compiler warnings

This commit is contained in:
2023-04-29 01:55:24 +00:00
parent 8ca1ab4384
commit 0bf7d419e0
14 changed files with 29 additions and 24 deletions

View File

@@ -1,8 +1,7 @@
#include "transform.h"
#include <string.h>
struct mTransform MakeTransform(mfloat_t pos[3], mfloat_t rotation[4],
float scale)
struct mTransform MakeTransform(mfloat_t pos[3], mfloat_t rotation[4], float scale)
{
struct mTransform newT;
memcpy(newT.position, pos, sizeof(*pos));