From 3b36bed4061aceb0e351802b77633a958d53d7b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Mon, 26 Aug 2019 00:11:49 +0200 Subject: [PATCH] Fix typo --- small3dlib.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/small3dlib.h b/small3dlib.h index 3452240..986cf76 100644 --- a/small3dlib.h +++ b/small3dlib.h @@ -390,7 +390,7 @@ typedef struct (t).rotation.x,(t).rotation.y,(t).rotation.z,\ (t).scale.x,(t).scale.y,(t).scale.z) -static inline void S3L_initTransoform3D(S3L_Transform3D *t); +static inline void S3L_initTransform3D(S3L_Transform3D *t); void S3L_lookAt(S3L_Vec4 pointTo, S3L_Transform3D *t); @@ -1539,7 +1539,7 @@ void S3L_normalizeVec3Fast(S3L_Vec4 *v) v->z = (v->z * S3L_FRACTIONS_PER_UNIT) / l; } -void S3L_initTransoform3D(S3L_Transform3D *t) +void S3L_initTransform3D(S3L_Transform3D *t) { S3L_initVec4(&(t->translation)); S3L_initVec4(&(t->rotation)); @@ -1647,7 +1647,7 @@ void S3L_setTransform3D( void S3L_initCamera(S3L_Camera *camera) { camera->focalLength = S3L_FRACTIONS_PER_UNIT; - S3L_initTransoform3D(&(camera->transform)); + S3L_initTransform3D(&(camera->transform)); } void S3L_rotationToDirections( @@ -1713,7 +1713,7 @@ void S3L_initModel3D( model->triangleCount = triangleCount; model->customTransformMatrix = 0; - S3L_initTransoform3D(&(model->transform)); + S3L_initTransform3D(&(model->transform)); S3L_initDrawConfig(&(model->config)); }