FreeBSD Manual Pages
orient3d_model(3) Arcan Lua API orient3d_model(3) NAME orient3d_model - Set the base orientation for the specified model. SYNOPSIS nil orient3d_model( model, roll, pitch, yaw ) DESCRIPTION While the active orientation of a model is dynamically changeable, many models from external sources come with a different starting orienta- tion. Although it is possible to compensate for that, it may be easier to just rotate the vertices once at a cost of O(n) in respect to the number of vertices in the model. NOTES 1 Since this operate on the vertex data itself, with a transforma- tion that can impose a loss of precision, it is not recommended that this is used more than once for any model. EXAMPLE function orient3d_model0() camera = null_surface(4, 4, 0, 0, 0); view = camtag_model(camera, 0); model = build_plane3d(-5.0, -5.0, 5.0, 5.0, -0.4, 1.0, 1.0, 0); show_image(model); orient3d_model(model, 10, 5, 2); end SEE ALSO: rotate3d_model(3) 3d April 2025 orient3d_model(3)
NAME | SYNOPSIS | DESCRIPTION | NOTES | EXAMPLE | SEE ALSO:
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=orient3d_model&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>