Lines Matching refs:Vec2
156 Line3<T> projectScreenToRay( const Vec2<T> & ) const;
157 Vec2<T> projectPointToScreen( const Vec3<T> & ) const;
169 Vec2<T> screenToLocal( const Vec2<T> & ) const;
170 Vec2<T> localToScreen( const Vec2<T> & ) const;
454 Vec2<T> bl = screenToLocal( Vec2<T>(l,b) ); in window()
455 Vec2<T> tr = screenToLocal( Vec2<T>(r,t) ); in window()
462 Vec2<T> Frustum<T>::screenToLocal(const Vec2<T> &s) const in screenToLocal()
464 return Vec2<T>( _left + (_right-_left) * (1.f+s.x) / 2.f, in screenToLocal()
469 Vec2<T> Frustum<T>::localToScreen(const Vec2<T> &p) const in localToScreen()
486 return Vec2<T>( leftPlusRight / leftMinusRight, in localToScreen()
491 Line3<T> Frustum<T>::projectScreenToRay(const Vec2<T> &p) const in projectScreenToRay()
493 Vec2<T> point = screenToLocal(p); in projectScreenToRay()
502 Vec2<T> Frustum<T>::projectPointToScreen(const Vec3<T> &point) const in projectPointToScreen()
505 return localToScreen( Vec2<T>( point.x, point.y ) ); in projectPointToScreen()
507 return localToScreen( Vec2<T>( point.x * _nearPlane / -point.z, in projectPointToScreen()