1
0
Fork 0
mirror of https://git.coom.tech/drummyfish/small3dlib.git synced 2024-11-21 20:39:57 +01:00

Add comment

This commit is contained in:
Miloslav Číž 2018-11-20 15:34:27 +01:00
parent aff771d1cc
commit 513bc419b1

1
s3l.h
View file

@ -628,6 +628,7 @@ static inline void S3L_rotate2DPoint(S3L_Unit *x, S3L_Unit *y, S3L_Unit angle)
(angleCos * (*y)) / S3L_FRACTIONS_PER_UNIT; (angleCos * (*y)) / S3L_FRACTIONS_PER_UNIT;
} }
// FIXME: rewrite this to just apply one matrix, EFFICIENCY!!!
static inline void S3L_mapModelToWorld(S3L_Vec3 point, static inline void S3L_mapModelToWorld(S3L_Vec3 point,
S3L_Transform3D *modelTransform, S3L_Vec3 *newPoint) S3L_Transform3D *modelTransform, S3L_Vec3 *newPoint)
{ {