Skip to content
Snippets Groups Projects
Commit b2c8808c authored by Boris Stefanovic's avatar Boris Stefanovic
Browse files

init

parent 7d2280bd
No related branches found
No related tags found
No related merge requests found
.gitignore 100644 → 100755
File mode changed from 100644 to 100755
Makefile 100644 → 100755
File mode changed from 100644 to 100755
gfx/gfx.c 100644 → 100755
File mode changed from 100644 to 100755
gfx/gfx.h 100644 → 100755
File mode changed from 100644 to 100755
main.c 100644 → 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
vec2/vec2.c 100644 → 100755
......@@ -89,8 +89,6 @@ bool vec2_is_approx_equal(vec2 lhs, vec2 rhs, double eps) {
/// @param height The screen height.
/// @return The coordinates (rwo, column).
coordinates vec2_to_coordinates(vec2 v, uint32_t width, uint32_t height) {
// tests used to fail because this produces more accurate results
// than those expected by the test, please check
return (coordinates){
.column = (uint32_t)(v.x * width) ,
.row = (uint32_t)(v.y * height)
......
vec2/vec2.h 100644 → 100755
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment