setTrace method
Sets the matrix diagonal elements from a Vec3
Implementation
void setTrace(Vec3 vector){
final e = elements;
e[0] = vector.x;
e[4] = vector.y;
e[8] = vector.z;
}
Sets the matrix diagonal elements from a Vec3
void setTrace(Vec3 vector){
final e = elements;
e[0] = vector.x;
e[4] = vector.y;
e[8] = vector.z;
}