本文整理了Java中com.jogamp.opengl.math.Quaternion.dot
方法的一些代码示例,展示了Quaternion.dot
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Quaternion.dot
方法的具体详情如下:
包路径:com.jogamp.opengl.math.Quaternion
类名称:Quaternion
方法名:dot
[英]Returns the dot product of this quaternion with the given x,y,z and w components.
[中]返回此四元数与给定x、y、z和w分量的点积。
代码示例来源:origin: org.jogamp.jogl/jogl
/**
* Returns the dot product of this quaternion with the given quaternion
*/
public final float dot(final Quaternion quat) {
return dot(quat.getX(), quat.getY(), quat.getZ(), quat.getW());
}
代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub
/**
* Returns the dot product of this quaternion with the given quaternion
*/
public final float dot(final Quaternion quat) {
return dot(quat.getX(), quat.getY(), quat.getZ(), quat.getW());
}
代码示例来源:origin: org.jogamp.jogl/jogl-all-noawt
/**
* Returns the dot product of this quaternion with the given quaternion
*/
public final float dot(final Quaternion quat) {
return dot(quat.getX(), quat.getY(), quat.getZ(), quat.getW());
}
内容来源于网络,如有侵权,请联系作者删除!