Improve the default size for 3D shapes (Box, Capsule, and Cylinder)
This commit is contained in:
@ -1451,8 +1451,8 @@ Ref<Material> CSGCylinder3D::get_material() const {
|
||||
|
||||
CSGCylinder3D::CSGCylinder3D() {
|
||||
// defaults
|
||||
radius = 1.0;
|
||||
height = 1.0;
|
||||
radius = 0.5;
|
||||
height = 2.0;
|
||||
sides = 8;
|
||||
cone = false;
|
||||
smooth_faces = true;
|
||||
@ -1671,8 +1671,8 @@ Ref<Material> CSGTorus3D::get_material() const {
|
||||
|
||||
CSGTorus3D::CSGTorus3D() {
|
||||
// defaults
|
||||
inner_radius = 2.0;
|
||||
outer_radius = 3.0;
|
||||
inner_radius = 0.5;
|
||||
outer_radius = 1.0;
|
||||
sides = 8;
|
||||
ring_sides = 6;
|
||||
smooth_faces = true;
|
||||
|
||||
Reference in New Issue
Block a user