mirror of
https://github.com/jneug/zeichenmaschine.git
synced 2026-04-14 14:43:33 +02:00
Bug in limit behoben
This commit is contained in:
@@ -221,7 +221,7 @@ public class Vector extends Point2D.Double {
|
||||
}
|
||||
if( lenSq() < min * min ) {
|
||||
setLen(min);
|
||||
} else if( lenSq() > min * min ) {
|
||||
} else if( lenSq() > max * max ) {
|
||||
setLen(max);
|
||||
}
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user