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 ...
本記事の最新版はzennに移行しております。 さて、GameObject(ゲームオブジェクト) の rotation はクォータニオン型なのですが、実際に使われるときはVector3型で行うことも少なくありません。 そして、 Vector3型の使い方がベクトル(方向)と座標と角度の3つあるの ...