color

package
v0.0.0-...-7d0236b Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Color

type Color [3]float64

func New

func New(r, g, b float64) Color

func (Color) Add

func (a Color) Add(b Color) Color

func (*Color) B

func (c *Color) B() float64

func (Color) Equal

func (a Color) Equal(b Color) bool

func (*Color) G

func (c *Color) G() float64

func (Color) MulColor

func (a Color) MulColor(b Color) Color

func (Color) MulScalar

func (a Color) MulScalar(s float64) Color

func (*Color) R

func (c *Color) R() float64

func (Color) Sub

func (a Color) Sub(b Color) Color

Jump to

Keyboard shortcuts

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