MCPcopy Create free account
hub / github.com/HumbleUI/Skija / asMatrix33

Method asMatrix33

shared/java/Matrix44.java:49–53  ·  view source on GitHub ↗

When converting from Matrix44 to Matrix33, the third row and column is dropped. [ a b _ c ] [ a b c ] [ d e _ f ] -> [ d e f ] [ _ _ _ _ ] [ g h i ] [ g h _ i ]

()

Source from the content-addressed store, hash-verified

47 * </code></pre>
48 */
49 public Matrix33 asMatrix33() {
50 return new Matrix33(_mat[0], _mat[1], _mat[3],
51 _mat[4], _mat[5], _mat[7],
52 _mat[12], _mat[13], _mat[15]);
53 }
54}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected