public float[] get_x() {
return p[0];
}
public float[] get_y() {
return p[1];
}
public float[] get_z() {
return p[2];
}
public void vectorMultiply(Point point) {
p[0] = p[0] * point.get_x();
p[1] = p[1] * point.get_y();
p[2] = p[2] * point.get_z();
}
public float[][] p;
The error message I am getting is:
The operator * is undefined for the argument type(s) float[], float[]
Thanks in advance for any help!
what I am getting at is what can I replace the * operator with to make this work?

New Topic/Question
Reply




MultiQuote




|