input basics
This commit is contained in:
parent
52090853da
commit
cf51ab71a2
17 changed files with 459 additions and 19 deletions
|
|
@ -16,4 +16,8 @@ double Vector2D::normalize() {
|
|||
y /= max;
|
||||
|
||||
return max;
|
||||
}
|
||||
|
||||
Vector2D Vector2D::floor() {
|
||||
return Vector2D((int)x, (int)y);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue