split edge: check, copy paste: check with a little bug
This commit is contained in:
+1
-1
@@ -96,7 +96,7 @@ class Vec2D{
|
||||
Vec2D norm() { return *this / length();};
|
||||
|
||||
Vec2D center(Vec2D v){
|
||||
return Vec2D<T>{x,y} + (Vec2D<T>{x,y} - v)*0.5f;
|
||||
return Vec2D<T>{x,y} - (Vec2D<T>{x,y} - v)*0.5f;
|
||||
}
|
||||
|
||||
Vec2D& operator=(const Vec2D& vec){
|
||||
|
||||
Reference in New Issue
Block a user