@Generated(value={"Immutables.generator","Quaternion4FType"}) public final class Quaternion4F extends Object implements Quaternion4FType
float-typed quaternions.| Modifier and Type | Class and Description |
|---|---|
static class |
Quaternion4F.Builder
Builds instances of type
Quaternion4F. |
| Modifier and Type | Method and Description |
|---|---|
static Quaternion4F.Builder |
builder()
Creates a builder for
Quaternion4F. |
boolean |
equals(Object another)
This instance is equal to all instances of
Quaternion4F that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
x, y, z, w. |
static Quaternion4F |
of(float x,
float y,
float z,
float w)
Construct a new immutable
Quaternion4F instance. |
String |
toString()
Prints the immutable value
Quaternion4F with attribute values. |
float |
w() |
float |
x() |
float |
y() |
float |
z() |
public float x()
x in interface Quaternion4FTypex in interface QuaternionReadable4FTypex attributepublic float y()
y in interface Quaternion4FTypey in interface QuaternionReadable4FTypey attributepublic float z()
z in interface Quaternion4FTypez in interface QuaternionReadable4FTypez attributepublic float w()
w in interface Quaternion4FTypew in interface QuaternionReadable4FTypew attributepublic boolean equals(Object another)
Quaternion4F that have equal attribute values.public int hashCode()
x, y, z, w.public String toString()
Quaternion4F with attribute values.public static Quaternion4F of(float x, float y, float z, float w)
Quaternion4F instance.x - The value for the x attributey - The value for the y attributez - The value for the z attributew - The value for the w attributepublic static Quaternion4F.Builder builder()
Quaternion4F.Copyright © 2017 <code@io7m.com> http://io7m.com