public class QuaternionfInterpolator extends Object
Quaternionf
instances.
Instances of this class are not thread-safe.
Reference: http://www.alinenormoyle.com/
Constructor and Description |
---|
QuaternionfInterpolator() |
Modifier and Type | Method and Description |
---|---|
Quaternionf |
computeWeightedAverage(Quaternionfc[] qs,
float[] weights,
int maxSvdIterations,
Quaternionf dest)
Compute the weighted average of all of the quaternions given in
qs using the specified interpolation factors weights , and store the result in dest . |
public Quaternionf computeWeightedAverage(Quaternionfc[] qs, float[] weights, int maxSvdIterations, Quaternionf dest)
qs
using the specified interpolation factors weights
, and store the result in dest
.
Reference: http://www.alinenormoyle.com/
qs
- the quaternions to interpolate overweights
- the weights of each individual quaternion in qs
maxSvdIterations
- the maximum number of iterations in the Singular Value Decomposition step used by this methoddest
- will hold the resultCopyright © 2015–2017 JOML. All rights reserved.