1 Commits

Author SHA1 Message Date
c096758b32 update Ligne.java 2026-02-10 15:30:09 +01:00

View File

@@ -135,7 +135,7 @@ public class Ligne extends ObjetGraphique{// Hérite de la classe ObjetGraphique
if (this.SegCourant == null) {
return false;
}
double yCercle = c.getY();
for(int i = 0; i <= 50; i++){
double xPoint = this.SegCourant.x + (i/50.0)*this.SegCourant.xLong;
double yPoint = this.SegCourant.y + (i/50.0)*this.SegCourant.yLong;