MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / float3x4_from_float44

Function float3x4_from_float44

src/builtin/module_builtin_math.cpp:354–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls 1

vec4fFunction · 0.85

Tested by

no test coverage detected