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.
平行六面体を描画し、その中心に塗りつぶされた円を描画するにはどうすればよいですか。それに含まれる数学を説明してください。現在、私はOpenGLを使用してそれを達成しようとしています。
平行六面体を定義する 3 つのベクトルを知る必要があります。その中心は、これら 3 つのベクトルの合計の半分です。円の中心は平行六面体と同じになります。平行六面体の中心点から最も近い辺を見つけます。これがあなたの半径です。