cams

package
v0.0.0-...-a3e6692 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: CC0-1.0 Imports: 6 Imported by: 0

Documentation

Overview

Package cams provides models which simulate cameras being added and removed, sometimes in an erratic manner.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlinkingCamModel

type BlinkingCamModel struct {
	Node *mechtree.Node
	// contains filtered or unexported fields
}

func NewBlinkingCamModel

func NewBlinkingCamModel(
	name string, delay float64, period float64,
) *BlinkingCamModel

func (*BlinkingCamModel) Enable

func (mdl *BlinkingCamModel) Enable()

func (*BlinkingCamModel) Update

func (mdl *BlinkingCamModel) Update(wld world.Standard, t float64)

type OscillatingCamsModel

type OscillatingCamsModel struct {
	Node *mechtree.Node
	// contains filtered or unexported fields
}

func NewOscillatingCamsModel

func NewOscillatingCamsModel(
	n int, namePrefix string, delay float64, period float64,
) *OscillatingCamsModel

func (*OscillatingCamsModel) Enable

func (mdl *OscillatingCamsModel) Enable()

func (*OscillatingCamsModel) Update

func (mdl *OscillatingCamsModel) Update(wld world.Standard, t float64)

type StandardCamModel

type StandardCamModel struct {
	Node *mechtree.Node
	// contains filtered or unexported fields
}

func NewStandardCamModel

func NewStandardCamModel(
	name string, position maf.Vec, lookAt maf.Vec,
) StandardCamModel

func (*StandardCamModel) Create

func (mdl *StandardCamModel) Create(wld world.Standard)

Jump to

Keyboard shortcuts

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