, . 2D :
-- -- -- -- -- --
| x_new | | cos(a) -sin(a) | | x_old |
| | = | | | |
| y_new | | sin(a) cos(a) | | y_old |
--- -- -- -- -- --
a - , .
, , transformatoin. , ( , ASCII), , (0,1) (sqrt(2)/2,sqrt(2)/2) ( 45 ).
x_new = x_old * cos(45) - y_old * sin(45) = 1 * sqrt(2)/2 - 0 * sqrt(2)/2 = sqrt(2)/2
y_new = x_old * sin(45) + y_old * cos(45) = 1 * sqrt(2)/2 + 0 * sqrt(2)/2 = sqrt(2)/2
(1,0), 45 :
x_new = x_old * cos(45) - y_old * sin(45) = sqrt(2)/2 * sqrt(2)/2 - sqrt(2)/2 * sqrt(2)/2 = 0
y_new = x_old * sin(45) + y_old * cos(45) = sqrt(2)/2 * sqrt(2)/2 + sqrt(2)/2 * sqrt(2)/2 = 1
3D , , , mutliplication XZ.