go3d is a performance oriented vector and matrix math package for 2D and 3D
Every type has its own sub-package and is named T. So vec3.T is the 3D
For every vector and matrix type there is a String() method and a Parse()
Besides methods of T there are also functions in the packages, like
Packages under the float64 directory are using float64 values instead of
Matrices are organized as arrays of columns which is also the way OpenGL
DirectX expects "arrays of rows" matrices, use the Transpose() to convert.
Methods that don't return a specific value, return a pointer to the struct
to allow method call chaining.
a := vec3.Zero
b := vec3.UnitX
Method names in the past tense return a copy of the struct instead of a
pointer to it.
a := vec3.UnitX
b := a.Scaled(5) // a still equals vec3.UnitX
Anyone keen on adding more spline packages in the style of hermit2 and
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.