X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fsnap.h;h=25777b360144c441b539a47ce9276afe519bbe98;hb=528c4f8760ac54fb2d1f3002248ecf6774956030;hp=844af3d14a9be3f9adf45e6130a3d4761439c56c;hpb=b88d3630a0e3fdd763db018bbe5dbfe3180a95f2;p=r2c2.git diff --git a/source/libr2c2/snap.h b/source/libr2c2/snap.h index 844af3d..25777b3 100644 --- a/source/libr2c2/snap.h +++ b/source/libr2c2/snap.h @@ -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)