the_Foundation [main]

Math: Added xy_F3

=> 3c2dafcdba4f3e1db3d8c438fae6fe9729a5f51f

diff --git a/include/the_Foundation/math_generic.h b/include/the_Foundation/math_generic.h
index 0d81a4b..3379a53 100644
--- a/include/the_Foundation/math_generic.h
+++ b/include/the_Foundation/math_generic.h
@@ -375,6 +375,10 @@ iLocalDef iFloat3 shuffle_F3(const iFloat3 d, int x, int y, int z) {
     return init_F3(d.v[x], d.v[y], d.v[z]);
 }
 
+iLocalDef iFloat3 xy_F3(const iFloat3 d) {
+    return init_F3(d.value.x, d.value.y, 0);
+}
+
 iLocalDef iFloat3 xyz_F3(const iFloat3 d) {
     return init_F3(d.value.x, d.value.y, d.value.z);
 }
Proxy Information
Original URL
gemini://git.skyjake.fi/the_Foundation/main/cdiff/3c2dafcdba4f3e1db3d8c438fae6fe9729a5f51f
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
25.509824 milliseconds
Gemini-to-HTML Time
0.33128 milliseconds

This content has been proxied by September (ba2dc).