本文整理了Java中com.jogamp.opengl.math.Quaternion.setFromAxes
方法的一些代码示例,展示了Quaternion.setFromAxes
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Quaternion.setFromAxes
方法的具体详情如下:
包路径:com.jogamp.opengl.math.Quaternion
类名称:Quaternion
方法名:setFromAxes
[英]Initializes this quaternion to represent a rotation formed by the given three orthogonal axes.
No validation whether the axes are orthogonal is performed.
[中]初始化此四元数以表示由给定的三个正交轴形成的旋转。
不验证轴是否正交。
代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub
return setFromAxes(xAxisOut, yAxisOut, zAxisOut).normalize();
代码示例来源:origin: org.jogamp.jogl/jogl-all-noawt
return setFromAxes(xAxisOut, yAxisOut, zAxisOut).normalize();
代码示例来源:origin: org.jogamp.jogl/jogl
return setFromAxes(xAxisOut, yAxisOut, zAxisOut).normalize();
内容来源于网络,如有侵权,请联系作者删除!