com.threerings.probs
Class QuaternionVariable.Identity
java.lang.Object
com.threerings.util.DeepObject
com.threerings.probs.QuaternionVariable
com.threerings.probs.QuaternionVariable.Identity
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- QuaternionVariable
public static class QuaternionVariable.Identity
- extends QuaternionVariable
Always return the identity value.
QuaternionVariable.Identity
public QuaternionVariable.Identity()
getValue
public Quaternion getValue(Quaternion result)
- Description copied from class:
QuaternionVariable
- Computes a sample value according to the variable's distribution.
- Specified by:
getValue in class QuaternionVariable
- Returns:
- a reference to the result value, for chaining.
getMean
public Quaternion getMean(Quaternion result)
- Description copied from class:
QuaternionVariable
- Computes the mean value.
- Specified by:
getMean in class QuaternionVariable
- Returns:
- a reference to the result value, for chaining.
Copyright © 2011. All Rights Reserved.