geom

package
v0.0.0-...-20810c9 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bounds

type Bounds[C BoundsCorner] struct {
	Min C
	Max C
}

type Bounds2f

type Bounds2f Bounds[Vec2f]

func (Bounds2f) Height

func (b Bounds2f) Height() float32

func (Bounds2f) Width

func (b Bounds2f) Width() float32

type Bounds2i

type Bounds2i Bounds[Vec2i]

func (Bounds2i) Height

func (b Bounds2i) Height() int32

func (Bounds2i) Width

func (b Bounds2i) Width() int32

type Bounds3f

type Bounds3f Bounds[Vec3f]

func (Bounds3f) Depth

func (b Bounds3f) Depth() float32

func (Bounds3f) Height

func (b Bounds3f) Height() float32

func (Bounds3f) Width

func (b Bounds3f) Width() float32

type Bounds3i

type Bounds3i Bounds[Vec3i]

func (Bounds3i) Depth

func (b Bounds3i) Depth() int32

func (Bounds3i) Height

func (b Bounds3i) Height() int32

func (Bounds3i) Width

func (b Bounds3i) Width() int32

type BoundsCorner

type BoundsCorner interface {
}

type Vec2

type Vec2[D comparable] struct {
	X D
	Y D
}

type Vec2f

type Vec2f Vec2[float32]

type Vec2i

type Vec2i Vec2[int32]

type Vec3

type Vec3[D comparable] struct {
	X D
	Y D
	Z D
}

type Vec3f

type Vec3f Vec3[float32]

type Vec3i

type Vec3i Vec3[int32]

Jump to

Keyboard shortcuts

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