| 344 | } |
| 345 | |
| 346 | float3x3 float3x3_from_float34 ( const float3x4 & mat ) { |
| 347 | float3x3 res; |
| 348 | res.m[0] = vec4f(mat.m[0]); |
| 349 | res.m[1] = vec4f(mat.m[1]); |
| 350 | res.m[2] = vec4f(mat.m[2]); |
| 351 | return res; |
| 352 | } |
| 353 | |
| 354 | float3x4 float3x4_from_float44 ( const float4x4 & mat ) { |
| 355 | float3x4 res; |