updated Floor method

This commit is contained in:
Stephen Michaelis 2019-01-20 10:00:35 -05:00
parent d3f6331240
commit e7a625f5d2
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ func (u Vec) Sub(v Vec) Vec {
}
// Floor returns converts x and y to their integer equivalents.
func (u Vec) Floor(v Vec) Vec {
func (u Vec) Floor() Vec {
return Vec{
math.Floor(u.X),
math.Floor(u.Y),