Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
この関数は 3D ポイントをスクリーン座標に変換しますが、ベクトルを返します3. Z値のポイントは何ですか? D3DXVECTOR2 を返さないのはなぜですか?
Z値は、深さの寸法を表します。オブジェクトが画面のはるか後ろにあると考えてください。これは、特に、画面上のポイントを選択するときにユーザーが選択するオブジェクトを決定するのに役立ちます。この情報は、Vec3Projectが使用する3D行列の乗算の結果として生成されます。