]> git.lizzy.rs Git - shadowclad.git/commitdiff
Change Vector3D definition style
authoroutfrost <kotlet.bahn@gmail.com>
Wed, 15 Apr 2020 00:40:15 +0000 (02:40 +0200)
committeroutfrost <kotlet.bahn@gmail.com>
Wed, 15 Apr 2020 00:40:15 +0000 (02:40 +0200)
src/engine/geometry.h

index 2fd336842041d1a5ad00da176308023d2ffad476..9f6dc581a4b881f0163330cb366dc1ffc407cd53 100644 (file)
@@ -1,10 +1,12 @@
 #ifndef GEOMETRY_H_
 #define GEOMETRY_H_
 
-typedef struct {
+typedef struct Vector3D Vector3D;
+
+struct Vector3D {
        float x;
        float y;
        float z;
-} Vector3D;
+};
 
 #endif