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.
私はwebglを学んでおり、この問題に半日悩まされています。
私はこの方法で自分のシーンに移動しています:
mat4.rotate(mvMatrix, degToRad(-angle), [0, 1, 0]); mat4.translate(mvMatrix, [-currentX, 0, -currentZ]);
目の前のポイントの座標 (x/z) を取得するにはどうすればよいですか (10 単位としましょう)。