00001 00007 #ifndef POINT3D_H_KEM405 00008 #define POINT3D_H_KEM405 00009 00010 class Point3D { 00011 public: 00012 float x; 00013 float y; 00014 float z; 00015 00019 Point3D() : x(0.0f), y(0.0f), z(0.0f) {} 00020 00024 Point3D(float x, float y, float z) : x(x), y(y), z(z) {} 00025 00029 void init(float x, float y, float z) { 00030 this->x = x; 00031 this->y = y; 00032 this->z = z; 00033 } 00034 00035 }; 00036 00037 #endif