class TVector {
public final float x,y,z;
public TVector(float value) {
this(value, value, value);
}
public TVector(float x, float y, float z) {
this.x = x;
this.y = y;
this.z = z;
}
public double DistancePoints(TVector Point1, TVector Point2) {
return (Math.sqrt((Point2.x - Point1.x) * (Point2.x - Point1.x) +
(Point2.y - Point1.y) * (Point2.y - Point1.y) +
(Point2.z - Point1.z) * (Point2.z - Point1.z)));
}
}
TVector myobj1, obj2;
DistancePoints(myobj1, obj2) < 2.9d <------ тут ошибка из сабжа
Ответ на:
комментарий
от Begemoth
Ответ на:
комментарий
от sniper21

Ответ на:
комментарий
от Begemoth
Ответ на:
комментарий
от sniper21
Ответ на:
комментарий
от sniper21

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.