Discussion Overview
The discussion revolves around calculating a rotated vector in 2D space, particularly in the context of implementing a first-person shooter (FPS) camera. Participants explore various mathematical approaches to vector rotation and clarify concepts related to angles and lengths.
Discussion Character
- Technical explanation
- Debate/contested
- Mathematical reasoning
Main Points Raised
- One participant proposes a method for calculating a rotated vector using the equations x' = x * ||v|| sin a / y and y' = - y ||v|| cos a / x, but does not clarify the context of ||v||.
- Another participant provides a standard formula for rotating a vector (x, y) by an angle a, stating x' = x*cos(a) - y*sin(a) and y' = x*sin(a) + y*cos(a).
- A later reply expresses satisfaction with the provided formula and mentions finding a relevant matrix for 3D rotation in a reference book.
- One participant attempts to derive relationships between two vectors of equal length using geometric reasoning but questions their own understanding and the validity of their approach.
- Another participant challenges the use of "sin(pi - a)" in the context of the discussion, pointing out that 'a' is not an angle but a length, leading to confusion about the terms used.
- Subsequent posts reflect uncertainty about the correctness of earlier statements, with one participant admitting to a mistake in terminology and questioning the assumptions made about the vectors.
Areas of Agreement / Disagreement
Participants express differing views on the correct approach to vector rotation, with some agreeing on the standard formula while others present alternative methods. The discussion remains unresolved regarding the validity of the initial proposed equations and the assumptions made about the vectors.
Contextual Notes
There are limitations in the clarity of terms used, particularly regarding the distinction between angles and lengths. The derivation attempts rely on geometric reasoning that may not be fully justified, and assumptions about vector equality are questioned.