com.jogamp.opengl.math.Quaternion.dot()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(1.0k)|赞(0)|评价(0)|浏览(122)

本文整理了Java中com.jogamp.opengl.math.Quaternion.dot方法的一些代码示例,展示了Quaternion.dot的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Quaternion.dot方法的具体详情如下:
包路径:com.jogamp.opengl.math.Quaternion
类名称:Quaternion
方法名:dot

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());
}

相关文章