summaryrefslogtreecommitdiffhomepage
path: root/src/rmodels.c
diff options
context:
space:
mode:
authorRay <[email protected]>2023-04-22 21:17:53 +0200
committerRay <[email protected]>2023-04-22 21:17:53 +0200
commit838fc7e3033945a5df68a4e360405dc96e910987 (patch)
treeed5c787e50b4227c9e2f24b31165af2ddf6c6c3c /src/rmodels.c
parent05af08080e49fdcdfd603e11c0ddd7d80f0b63ae (diff)
downloadraylib-838fc7e3033945a5df68a4e360405dc96e910987.tar.gz
raylib-838fc7e3033945a5df68a4e360405dc96e910987.zip
REVIEWED: Some old TODOs
Diffstat (limited to 'src/rmodels.c')
-rw-r--r--src/rmodels.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/rmodels.c b/src/rmodels.c
index 6db7016a..6b2b4b9f 100644
--- a/src/rmodels.c
+++ b/src/rmodels.c
@@ -4525,7 +4525,7 @@ static ModelAnimation *LoadModelAnimationsIQM(const char *fileName, unsigned int
animations[a].boneCount = iqmHeader->num_poses;
animations[a].bones = RL_MALLOC(iqmHeader->num_poses*sizeof(BoneInfo));
animations[a].framePoses = RL_MALLOC(anim[a].num_frames*sizeof(Transform *));
- // animations[a].framerate = anim.framerate; // TODO: Use framerate?
+ // animations[a].framerate = anim.framerate; // TODO: Use animation framerate data?
for (unsigned int j = 0; j < iqmHeader->num_poses; j++)
{
@@ -4825,7 +4825,7 @@ static Model LoadGLTF(const char *fileName)
TRACELOG(LOG_DEBUG, " > Textures count: %i", data->textures_count);
// Force reading data buffers (fills buffer_view->buffer->data)
- // NOTE: If an uri is defined to base64 data or external path, it's automatically loaded -> TODO: Verify this assumption
+ // NOTE: If an uri is defined to base64 data or external path, it's automatically loaded
result = cgltf_load_buffers(&options, data, fileName);
if (result != cgltf_result_success) TRACELOG(LOG_INFO, "MODEL: [%s] Failed to load mesh/material buffers", fileName);
@@ -5517,7 +5517,6 @@ static Model LoadVOX(const char *fileName)
memcpy(pmesh->vertices, pvertices, size);
// Copy indices
- // TODO: Compute globals indices array
size = voxarray.indices.used*sizeof(unsigned short);
pmesh->indices = RL_MALLOC(size);
memcpy(pmesh->indices, pindices, size);
@@ -5803,7 +5802,7 @@ static Model LoadM3D(const char *fileName)
model.bindPose[i].rotation.z = m3d->vertex[m3d->bone[i].ori].z;
model.bindPose[i].rotation.w = m3d->vertex[m3d->bone[i].ori].w;
- // TODO: if the orientation quaternion not normalized, then that's encoding scaling
+ // TODO: If the orientation quaternion is not normalized, then that's encoding scaling
model.bindPose[i].rotation = QuaternionNormalize(model.bindPose[i].rotation);
model.bindPose[i].scale.x = model.bindPose[i].scale.y = model.bindPose[i].scale.z = 1.0f;