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

Method getZeroMatrix

utils/cuda_utils/include/cuda_SimpleMatrixUtil.h:522–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520 }
521
522 static inline __device__ __host__ float3x3 getZeroMatrix() {
523 float3x3 res;
524 res.setZero();
525 return res;
526 }
527
528 static inline __device__ __host__ float3x3 getDiagonalMatrix(float diag = 1.0f) {
529 float3x3 res;

Callers

nothing calls this directly

Calls 1

setZeroMethod · 0.45

Tested by

no test coverage detected