Matrix4 makeRotationX(double theta) { final c = math.cos(theta).toDouble(), s = math.sin(theta).toDouble(); setValues(1, 0, 0, 0, 0, c, -s, 0, 0, s, c, 0, 0, 0, 0, 1); return this; }