入门篇-数学
入门篇-数学

入门篇-数学

点和向量
Unity左手坐标系.

向量的运算

notion image
notion image
把向量长度变为1 ( Normalize)

矩阵

notion image
notion image
逆运算
矩阵的转置
正交矩阵
逆就是转置
notion image
 
矩阵的意义和齐次坐标系
矩阵是为了对点进行 缩放,旋转,平移等变换; 三阶转成四阶.
notion image
最后一列平移使用.向量平移没有意义,故为0.
 
图形学中的意义
 
notion image
 
notion image
mul — 向量乘法.