primitives

package
v0.0.0-...-bdc3219 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cube

func Cube() mesh.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) mesh.Mesh

Types

This section is empty.

Jump to

Keyboard shortcuts

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