本記事の最新版はzennに移行しております。 さて、GameObject(ゲームオブジェクト) の rotation はクォータニオン型なのですが、実際に使われるときはVector3型で行うことも少なくありません。 そして、 Vector3型の使い方がベクトル(方向)と座標と角度の3つあるの ...
cg: dot (a, b)-> https://developer.download.nvidia. com / cg / dot.html When taking the dot product of the view direction with vertex normals, you can calculate whether the normals face the user or ...
Defines a vector with three components. float X Gets or sets the x-component of the vector. float Y Gets or sets the y-component of the vector. float Z Gets or sets the z-component of the vector.