MCPcopy Create free account
hub / github.com/ashawkey/camera_viewer / createIdentityMatrix

Method createIdentityMatrix

js/poseParser.js:513–520  ·  view source on GitHub ↗

* Create an identity 4x4 matrix

()

Source from the content-addressed store, hash-verified

511 * Create an identity 4x4 matrix
512 */
513 static createIdentityMatrix() {
514 return [
515 [1, 0, 0, 0],
516 [0, 1, 0, 0],
517 [0, 0, 1, 0],
518 [0, 0, 0, 1]
519 ];
520 }
521
522 /**
523 * Convert pose array to formatted string for display

Callers 1

generateSampleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected