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