Original Post
class vector {
public:
double x, y, z;
double length ();
};
.
.
.
void dostuff (const vector f) {
double l = f.length ();
}
|
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more