diff options
Diffstat (limited to 'intern/dualcon/intern/GeoCommon.h')
-rw-r--r-- | intern/dualcon/intern/GeoCommon.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/intern/dualcon/intern/GeoCommon.h b/intern/dualcon/intern/GeoCommon.h index 3c21b4c36e8..421e2c5e65e 100644 --- a/intern/dualcon/intern/GeoCommon.h +++ b/intern/dualcon/intern/GeoCommon.h @@ -28,31 +28,29 @@ * @author Tao Ju */ - // 3d point with integer coordinates typedef struct { - int x, y, z; + int x, y, z; } Point3i; typedef struct { - Point3i begin; - Point3i end; + Point3i begin; + Point3i end; } BoundingBox; // triangle that points to three vertices typedef struct { - float vt[3][3]; + float vt[3][3]; } Triangle; // 3d point with float coordinates typedef struct { - float x, y, z; + float x, y, z; } Point3f; typedef struct { - Point3f begin; - Point3f end; + Point3f begin; + Point3f end; } BoundingBoxf; - -#endif /* __GEOCOMMON_H__ */ +#endif /* __GEOCOMMON_H__ */ |