| 336 | } |
| 337 | |
| 338 | float3x3 float3x3_from_float44 ( const float4x4 & mat ) { |
| 339 | float3x3 res; |
| 340 | res.m[0] = vec4f(mat.m[0]); |
| 341 | res.m[1] = vec4f(mat.m[1]); |
| 342 | res.m[2] = vec4f(mat.m[2]); |
| 343 | return res; |
| 344 | } |
| 345 | |
| 346 | float3x3 float3x3_from_float34 ( const float3x4 & mat ) { |
| 347 | float3x3 res; |