어떤 벡터의 크기를 키우거나 줄이려면 Identity Matrix의 각 열벡터에 상수배를 해준 후 Identity Matrix에 벡터를 곱해주면 된다.
이때 만약 I 대신 다른 기저벡터 좌표계에 대해 크기를 변경하고 싶다면 I 대신 그 기저벡터들을 열벡터로 가지는 행렬을 대신 사용하면 된다.
'mathematics > game mathematics' 카테고리의 다른 글
[Mathematics] 11. Translation (0) | 2022.02.21 |
---|---|
[Mathematics] 10. Rotation (1) | 2022.02.16 |
[Mathematics] 8. 좌표계 변환 (0) | 2022.02.06 |
[Mathematics] 7. Billboarding (0) | 2022.02.01 |
[Mathematics] 6. 총알 소리 (Bullet whizzes) (0) | 2022.01.23 |