Woops remove Z arg from vec2 util
This commit is contained in:
@@ -37,8 +37,8 @@ function toVector3(x, y, z) {
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
function toVector2(x, y, z) {
|
||||
return new Vec2(x, y, z);
|
||||
function toVector2(x, y) {
|
||||
return new Vec2(x, y);
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user