]> git.jsancho.org Git - c-irrlicht.git/blobdiff - include/vector3d.h
Use structs with casting, without classes replication
[c-irrlicht.git] / include / vector3d.h
index 36de9a9e5dc101cdf105dc9627b4081be566d917..a03a82519faf466bc25863917ff1980010445180 100644 (file)
    <http://www.gnu.org/licenses/>.
 */
 
-#ifndef __C_IRR_POINT_3D_H_INCLUDED__
-#define __C_IRR_POINT_3D_H_INCLUDED__
+#ifndef __C_IRR_VECTOR_3D_H_INCLUDED__
+#define __C_IRR_VECTOR_3D_H_INCLUDED__
+
+#include <math.h>
 
 typedef struct
 {
-  float x;
-  float y;
-  float z;
+  float_t x;
+  float_t y;
+  float_t z;
 } irr_core_vector3df;
 
 #endif