surface

package
v0.0.0-...-17271f8 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Surface2

type Surface2 struct {
	V1, V2, V3, V4 vector.Vector2
	C1             color.Color
}

func (*Surface2) ToScreenCoords

func (s *Surface2) ToScreenCoords(width, height float64) Surface2

type Surface3

type Surface3 struct {
	V1, V2, V3, V4 vector.Vector3
	Col            color.Color
}

func (*Surface3) Rotate

func (s *Surface3) Rotate(x, y, z float64) Surface3

func (*Surface3) To2DCoords

func (s *Surface3) To2DCoords(distance, cubeDistance float64) Surface2

func (*Surface3) Z

func (s *Surface3) Z() float64

Jump to

Keyboard shortcuts

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