Documentation
¶
Overview ¶
Package vec contains vector related functionality
Copyright 2015 Markus Dittrich Licensed under BSD license, see LICENSE file for details
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NullVec3 = Vec3{0.0, 0.0, 0.0}
NullVec3 is a convenience definition for the null vector
Functions ¶
This section is empty.
Types ¶
type Vec3 ¶
type Vec3 struct {
X, Y, Z float64
}
Vec3 is a 3D vector
func (Vec3) Equal ¶
Equal determines if Vec3 v and w are identical. Identity is determined via component-wise identity
Click to show internal directories.
Click to hide internal directories.