ParticleSpawner: Fix crash when attaching to invisible entity
[oweals/minetest.git] / src / irr_v3d.h
index 7bc73ad1088bc0c146af2cb614bffb8b1701a346..3e95c7913ca084678b09eabb9f7d40620d578617 100644 (file)
@@ -17,16 +17,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */
 
-#ifndef IRR_V3D_HEADER
-#define IRR_V3D_HEADER
+#pragma once
 
 #include "irrlichttypes.h"
 
 #include <vector3d.h>
 
 typedef core::vector3df v3f;
+typedef core::vector3d<double> v3d;
 typedef core::vector3d<s16> v3s16;
+typedef core::vector3d<u16> v3u16;
 typedef core::vector3d<s32> v3s32;
-
-#endif
-