dispvert

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: Unlicense Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DispVert

type DispVert struct {
	// Vec is direction of vertex from its default computed position
	Vec mgl32.Vec3
	// Dist is distance of vertex from its default computed position
	Dist float32
	// Alpha is the alpha value of this vertex (normally used for blend materials)
	Alpha float32
}

DispVert represents a single vertex on a displacement face. It defines properties required to compute the correct position of the displacement vertex after transformation.

Jump to

Keyboard shortcuts

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