f64

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package f64 implements float64 vector and matrix types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aff3

type Aff3 [6]float64

Aff3 is a 3x3 affine transformation matrix in row major order, where the bottom row is implicitly [0 0 1].

m[3*r + c] is the element in the r'th row and c'th column.

type Aff4

type Aff4 [12]float64

Aff4 is a 4x4 affine transformation matrix in row major order, where the bottom row is implicitly [0 0 0 1].

m[4*r + c] is the element in the r'th row and c'th column.

type Mat3

type Mat3 [9]float64

Mat3 is a 3x3 matrix in row major order.

m[3*r + c] is the element in the r'th row and c'th column.

type Mat4

type Mat4 [16]float64

Mat4 is a 4x4 matrix in row major order.

m[4*r + c] is the element in the r'th row and c'th column.

type Vec2

type Vec2 [2]float64

Vec2 is a 2-element vector.

type Vec3

type Vec3 [3]float64

Vec3 is a 3-element vector.

type Vec4

type Vec4 [4]float64

Vec4 is a 4-element vector.

Jump to

Keyboard shortcuts

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