Edit comments

This commit is contained in:
CJSatnarine
2024-08-16 21:26:50 -04:00
parent 60f5a8ac90
commit 431319f1df

View File

@@ -36,7 +36,7 @@ def spawnGround():
# Set the location. # Set the location.
location = (x, y, -z) location = (x, y, -z)
# Add the cubes. # Add the cubes. k
bpy.ops.mesh.primitive_cube_add(size = size, location = location, scale = (size, size, size)) bpy.ops.mesh.primitive_cube_add(size = size, location = location, scale = (size, size, size))
# Set the newly created cube as the active object. # Set the newly created cube as the active object.
@@ -73,7 +73,7 @@ def buildTree():
# Set the colour. # Set the colour.
treeTrunkColour = createMaterial(0.195465, 0.020193, 0.004988, 1) treeTrunkColour = createMaterial(0.195465, 0.020193, 0.004988, 1)
assignMaterial(activeObject, treeTrunkColour) assignMaterial(activeObject, treeTrunkColour)
# increase the counter # Increase the counter.
counter += 1 counter += 1
# Create the leaves of the tree. # Create the leaves of the tree.