[TypeScript] 제스처로 대화하기. #17 - 로테이트 편(with. 기준점)
이번 편은 이전 편으로부터 이어집니다. 핀치 때와 마찬가지로 기준점에 대해 한번 생각해 봅시다. 마찬가지로 고정된 포인터를 기준점으로 생각할 수 있습니다. 이를 수행하기 위한 변환 행렬은 아래와 같습니다. $$\begin{aligned} \begin{pmatrix} 1 & 0 & t_x \\ 0 & 1 & t_y \\ 0 & 0 & 1 \end{pmatrix} \begin{pmatrix} \cos\theta & -\sin\theta & 0 \...
Jan 18, 20253 min read21
![[TypeScript] 제스처로 대화하기. #17 - 로테이트 편(with. 기준점)](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fstock%2Funsplash%2Fgq8V_6N3fNo%2Fupload%2F65a61843d2fea947ae7031a7ee51a5c8.jpeg&w=3840&q=75)