primitives

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cube

func Cube() modeling.Mesh

Builds a cube with no normals

The Cube Indices:

  3 ------- 7
/ |      /  |

2 | 6 | | 1 | 5 | / | / 0 ------ 4

func Cylinder

func Cylinder(sides int, height, radius float64) modeling.Mesh

func UVSphere

func UVSphere(radius float64, rows, columns int) modeling.Mesh

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL