small refactoring
This commit is contained in:
@@ -248,7 +248,6 @@ Mesh * Primitive::cylinder(int segments, float radius, float height, float end_a
|
||||
if (end_angle < 360.) {
|
||||
Mesh * cap = Primitive::plane(radius, height);
|
||||
cap->rotatePoints(90, 1, 0, 0);
|
||||
//cap->rotatePoints(-90, 0, 0, 1);
|
||||
cap->translatePoints(radius/2, 0, height/2);
|
||||
ret->append(cap);
|
||||
cap->flipNormals();
|
||||
|
||||
Reference in New Issue
Block a user