Shotter: How to calcuate coordinates and vector of the pad pointer September 06, 2012 09:59PM | Registered: 12 years ago Posts: 2 |
Re: Shotter: How to calcuate coordinates and vector of the pad pointer September 08, 2012 12:39PM | Registered: 13 years ago Posts: 58 |
Vector3F Camera::ScreenToWorldPoint(const Vector2F& rScreenPoint) const { Vector4F worldPoint = (GetProjectionMatrix() * GetViewMatrix()).Inverse() * Vector4F(rScreenPoint.X(), rScreenPoint.Y(), 0, 1); return Vector3F(worldPoint.X(), worldPoint.Y(), worldPoint.Z()); }
Re: Shotter: How to calcuate coordinates and vector of the pad pointer September 09, 2012 09:23PM | Registered: 13 years ago Posts: 363 |
Re: Shotter: How to calcuate coordinates and vector of the pad pointer September 10, 2012 10:49AM | Registered: 13 years ago Posts: 58 |
Re: Shotter: How to calcuate coordinates and vector of the pad pointer September 10, 2012 03:21PM | Registered: 13 years ago Posts: 58 |
Re: Shotter: How to calcuate coordinates and vector of the pad pointer September 10, 2012 05:42PM | Registered: 13 years ago Posts: 363 |
Re: Shotter: How to calcuate coordinates and vector of the pad pointer September 10, 2012 06:22PM | Registered: 13 years ago Posts: 58 |
Re: Shotter: How to calcuate coordinates and vector of the pad pointer September 10, 2012 10:47PM | Registered: 13 years ago Posts: 363 |
Re: Shotter: How to calcuate coordinates and vector of the pad pointer September 11, 2012 09:30AM | Registered: 13 years ago Posts: 58 |