aboutsummaryrefslogtreecommitdiff
path: root/include/math/vec2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/math/vec2.h')
-rw-r--r--include/math/vec2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/math/vec2.h b/include/math/vec2.h
index ebf0d78..dc51c17 100644
--- a/include/math/vec2.h
+++ b/include/math/vec2.h
@@ -15,7 +15,7 @@ static inline vec2 vec2_make(R x, R y) { return (vec2){x, y}; }
15 15
16/// Construct a vector from an array. 16/// Construct a vector from an array.
17static inline vec2 vec2_from_array(const R xy[2]) { 17static inline vec2 vec2_from_array(const R xy[2]) {
18 return (vec2){xy[0], xy[1] }; 18 return (vec2){xy[0], xy[1]};
19} 19}
20 20
21/// Construct a vector from a single scalar value. 21/// Construct a vector from a single scalar value.