MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / cube

Method cube

src/main/java/field/graphics/util/Shapes.kt:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39 @JvmStatic
40 @Documentation("Appends a cube of size `scale` to `builder`")
41 fun cube(scale: Number = 1, builder: MeshBuilder): MeshBuilder {
42 return cube(Vec3(scale.toDouble(), scale.toDouble(), scale.toDouble()), builder)
43 }
44
45 @JvmStatic
46 @JvmOverloads
47 @Documentation("Appends a cube of size `scale` to `builder`")

Callers

nothing calls this directly

Calls 4

Vec3Class · 0.50
xMethod · 0.45
yMethod · 0.45
zMethod · 0.45

Tested by

no test coverage detected