]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/snap.h
Make use of the mspmath library
[r2c2.git] / source / libr2c2 / snap.h
index 844af3d14a9be3f9adf45e6130a3d4761439c56c..25777b360144c441b539a47ce9276afe519bbe98 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef LIBR2C2_SNAP_H_
 #define LIBR2C2_SNAP_H_
 
+#include "geometry.h"
+
 namespace R2C2 {
 
 enum SnapType
@@ -14,7 +16,7 @@ enum SnapType
 struct Snap
 {
        Vector position;
-       float rotation;
+       Angle rotation;
 };
 
 inline SnapType operator|(SnapType s1, SnapType s2)