mirror of
https://git.coom.tech/drummyfish/small3dlib.git
synced 2024-11-22 20:49:58 +01:00
Fix prefix
This commit is contained in:
parent
af268c83e8
commit
dc6a46ef7d
2 changed files with 3 additions and 3 deletions
|
@ -194,7 +194,7 @@ void draw()
|
|||
|
||||
S3L_Vec4 screenPoint;
|
||||
|
||||
project3DPointToScreen(teleportPoint,scene.camera,&screenPoint);
|
||||
S3L_project3DPointToScreen(teleportPoint,scene.camera,&screenPoint);
|
||||
|
||||
if (screenPoint.w > 0 &&
|
||||
screenPoint.x >= 0 && screenPoint.x < S3L_resolutionX &&
|
||||
|
|
|
@ -635,7 +635,7 @@ S3L_Unit S3L_sqrt(S3L_Unit value);
|
|||
can be useful e.g. for drawing sprites. The w component of input and result
|
||||
holds the point size. If this size is 0 in the result, the sprite is outside
|
||||
the view. */
|
||||
void project3DPointToScreen(
|
||||
void S3L_project3DPointToScreen(
|
||||
S3L_Vec4 point,
|
||||
S3L_Camera camera,
|
||||
S3L_Vec4 *result);
|
||||
|
@ -1625,7 +1625,7 @@ static inline void S3L_perspectiveDivide(S3L_Vec4 *vector,
|
|||
vector->y = (vector->y * focalLength) / vector->z;
|
||||
}
|
||||
|
||||
void project3DPointToScreen(
|
||||
void S3L_project3DPointToScreen(
|
||||
S3L_Vec4 point,
|
||||
S3L_Camera camera,
|
||||
S3L_Vec4 *result)
|
||||
|
|
Loading…
Reference in a new issue