Skip to content

Commit

Permalink
docs: add .0F to float literal
Browse files Browse the repository at this point in the history
  • Loading branch information
RiscadoA committed Sep 6, 2023
1 parent 81843ce commit 5977a61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/include/cubos/core/gl/debug.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace cubos::core::gl
/// @param color Color of the drawn line.
/// @param time How long will it be visible for? If 0, for a single frame.
static void drawLine(glm::vec3 start, glm::vec3 end, bool relative = false, glm::vec3 color = glm::vec3(1),
float time = 0);
float time = 0.0F);

/// @brief Draws a filled box that will stay visible for a specified amount of time.
/// @param box Box to draw.
Expand Down

0 comments on commit 5977a61

Please sign in to comment.