Add missing inline
This commit is contained in:
parent
16b0218556
commit
c9b25ea88e
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ static inline double mat3_det(struct Mat3 a) {
|
||||||
a.r1.z * (a.r2.x * a.r3.y - a.r2.y * a.r3.x);
|
a.r1.z * (a.r2.x * a.r3.y - a.r2.y * a.r3.x);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct Mat3 mat3_inv(struct Mat3 a) {
|
static inline struct Mat3 mat3_inv(struct Mat3 a) {
|
||||||
double inv_det = 1.0 / mat3_det(a);
|
double inv_det = 1.0 / mat3_det(a);
|
||||||
struct Vec3 r1 = vec3_scale(
|
struct Vec3 r1 = vec3_scale(
|
||||||
(struct Vec3){
|
(struct Vec3){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue