set method
Matrix4
set(
- num n11,
- num n12,
- num n13,
- num n14,
- num n21,
- num n22,
- num n23,
- num n24,
- num n31,
- num n32,
- num n33,
- num n34,
- num n41,
- num n42,
- num n43,
- num n44,
)
Implementation
Matrix4 set(
num n11,
num n12,
num n13,
num n14,
num n21,
num n22,
num n23,
num n24,
num n31,
num n32,
num n33,
num n34,
num n41,
num n42,
num n43,
num n44,
) {
var te = elements;
te[0] = n11.toDouble();
te[4] = n12.toDouble();
te[8] = n13.toDouble();
te[12] = n14.toDouble();
te[1] = n21.toDouble();
te[5] = n22.toDouble();
te[9] = n23.toDouble();
te[13] = n24.toDouble();
te[2] = n31.toDouble();
te[6] = n32.toDouble();
te[10] = n33.toDouble();
te[14] = n34.toDouble();
te[3] = n41.toDouble();
te[7] = n42.toDouble();
te[11] = n43.toDouble();
te[15] = n44.toDouble();
return this;
}