mirror of
https://git.coom.tech/drummyfish/small3dlib.git
synced 2024-11-24 21:09:57 +01:00
Add comment
This commit is contained in:
parent
aff771d1cc
commit
513bc419b1
1 changed files with 1 additions and 0 deletions
1
s3l.h
1
s3l.h
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue