| 352 | } |
| 353 | |
| 354 | float3x4 float3x4_from_float44 ( const float4x4 & mat ) { |
| 355 | float3x4 res; |
| 356 | res.m[0] = vec4f(mat.m[0]); |
| 357 | res.m[1] = vec4f(mat.m[1]); |
| 358 | res.m[2] = vec4f(mat.m[2]); |
| 359 | res.m[3] = vec4f(mat.m[3]); |
| 360 | return res; |
| 361 | } |
| 362 | |
| 363 | void float4x4_identity ( float4x4 & mat ) { |
| 364 | matrix_identity<4,4>((float*)&mat); |