* support mouse_moved_epsilon system in camera freelook + refactor RadiantWindowObserver

This commit is contained in:
Garux
2018-04-14 23:12:53 +03:00
parent d636107f68
commit 93aef246ea
5 changed files with 53 additions and 59 deletions

View File

@@ -159,7 +159,7 @@ inline BasicVector2<Element> operator-( const BasicVector2<Element>& self, const
template<typename Element, typename OtherElement>
inline void vector2_subtract( BasicVector2<Element>& self, const BasicVector2<OtherElement>& other ){
self.x() -= Element( other.x() );
self.y() -= lement( other.y() );
self.y() -= Element( other.y() );
}
template<typename Element, typename OtherElement>
inline void operator-=( BasicVector2<Element>& self, const BasicVector2<OtherElement>& other ){