mirror of
https://github.com/jneug/zeichenmaschine.git
synced 2026-10-12 01:45:18 +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 ) {
|
if( lenSq() < min * min ) {
|
||||||
setLen(min);
|
setLen(min);
|
||||||
} else if( lenSq() > min * min ) {
|
} else if( lenSq() > max * max ) {
|
||||||
setLen(max);
|
setLen(max);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
|
|||||||
Reference in New Issue
Block a user