Skip to content

Commit 4992eda

Browse files
committed
ADDED: DrawPoint3D()
1 parent af3df8b commit 4992eda

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/models.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ void DrawLine3D(Vector3 startPos, Vector3 endPos, Color color)
110110
rlEnd();
111111
}
112112

113-
// Draw a point in 3D space--actually a small line.
113+
// Draw a point in 3D space, actually a small line
114114
void DrawPoint3D(Vector3 position, Color color)
115115
{
116116
if (rlCheckBufferLimit(8)) rlglDraw();

src/raylib.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,6 +1234,7 @@ RLAPI const char *CodepointToUtf8(int codepoint, int *byteLength); // Encode
12341234

12351235
// Basic geometric 3D shapes drawing functions
12361236
RLAPI void DrawLine3D(Vector3 startPos, Vector3 endPos, Color color); // Draw a line in 3D world space
1237+
RLAPI void DrawPoint3D(Vector3 position, Color color); // Draw a point in 3D space, actually a small line
12371238
RLAPI void DrawCircle3D(Vector3 center, float radius, Vector3 rotationAxis, float rotationAngle, Color color); // Draw a circle in 3D world space
12381239
RLAPI void DrawCube(Vector3 position, float width, float height, float length, Color color); // Draw cube
12391240
RLAPI void DrawCubeV(Vector3 position, Vector3 size, Color color); // Draw cube (Vector version)

0 commit comments

Comments
 (0)