sdfxshape

package module
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: MIT Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

sdfxshape

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Shape

type Shape struct {
	S sdf.SDF3
}

func Box

func Box(x, y, z, round float64) (out Shape)

func Cone

func Cone(height, r0, r1, round float64) (out Shape)

func Cylinder

func Cylinder(height, radius, round float64) (out Shape)

func Union

func Union(ins ...Shape) (out Shape)

func (Shape) Rotate

func (in Shape) Rotate(x, y, z float64) (out Shape)

func (Shape) Sub

func (pos Shape) Sub(neg Shape) (out Shape)

func (Shape) Translate

func (in Shape) Translate(x, y, z float64) (out Shape)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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