d[0] = a[0]*s; d[1] = a[1]*s;
}
+static inline void v2_divs( v2f a, float s, v2f d )
+{
+ d[0] = a[0]/s; d[1] = a[1]/s;
+}
+
+
static inline void v2_mul( v2f a, v2f b, v2f d )
{
d[0] = a[0]*b[0]; d[1] = a[1]*b[1];
d[0] = a[0]/b[0]; d[1] = a[1]/b[1];
}
+static inline void v2_muladds( v2f a, v2f b, float s, v2f d )
+{
+ d[0] = a[0]+b[0]*s; d[1] = a[1]+b[1]*s;
+}
+
// Vector 3
// ==================================================================================================================