MCPcopy Create free account
hub / github.com/RozDavid/UnScene3D / normalizeRows

Method normalizeRows

utils/cuda_utils/include/cuda_SimpleMatrixUtil.h:416–425  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

414 }
415
416 inline __device__ __host__ void normalizeRows()
417 {
418 //#pragma unroll 3
419 for(unsigned int i = 0; i<3; i++)
420 {
421 float3 r = getRow(i);
422 r/=length(r);
423 setRow(i, r);
424 }
425 }
426
427 //! computes the product of two matrices (result stored in this)
428 inline __device__ __host__ void mult(const float3x3 &other) {

Callers

nothing calls this directly

Calls 1

lengthFunction · 0.85

Tested by

no test coverage detected