mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2025-02-11 11:06:30 -05:00
6 lines
329 B
Go
6 lines
329 B
Go
|
// Package d2vector provides an implementation of a 2D Euclidean vector using float64 to store the two values.
|
||
|
/*
|
||
|
Vector uses d2math.Epsilon for approximate equality and comparison. Note: SetLength and Rotate do not (per the unit
|
||
|
tests) return exact values but ones within Epsilon range of the expected value.*/
|
||
|
package d2vector
|