| Virtual Reality Toolbox™ | ![]() |
Convert viewpoint orientation to direction
vrori2dir(r)
vrori2dir(r,options)
vrori2dir(r) converts the viewpoint orientation, specified by a rotation vector, r, to a direction the viewpoint points to.
vrori2dir(r,options) converts the viewpoint orientation with the default algorithm parameters replaced by values defined in options.
The options structure contains the parameter epsilon that represents the value below which a number will be treated as zero (default value is 1e-12).
vrdir2ori, vrrotmat2vec, vrrotvec, and vrrotvec2mat
![]() | vrnode/sync | vrplay | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |