MCPcopy Create free account
hub / github.com/RozDavid/UnScene3D / operator float4x4

Method operator float4x4

utils/cuda_utils/include/cuda_SimpleMatrixUtil.h:1638–1644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1636// To floatNxM from Matrix
1637template<>
1638inline __device__ __host__ matNxM<4, 4>::operator float4x4()
1639{
1640 float4x4 res;
1641 __CONDITIONAL_UNROLL__
1642 for(unsigned int i = 0; i<16; i++) res.entries[i] = entries[i];
1643 return res;
1644}
1645
1646template<>
1647inline __device__ __host__ matNxM<3, 3>::operator float3x3()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected