public class FloatTuples extends Object
FloatTuple instances| Modifier and Type | Method and Description |
|---|---|
static FloatTuple |
copy(FloatTuple other)
Create a copy of the given
FloatTuple |
static FloatTuple |
create(float x)
Create a new
FloatTuple with the given coordinate |
static FloatTuple |
create(float x,
float y)
Create a new
FloatTuple with the given coordinates |
static FloatTuple |
create(float x,
float y,
float z)
Create a new
FloatTuple with the given coordinates |
static FloatTuple |
create(float x,
float y,
float z,
float w)
Create a new
FloatTuple with the given coordinates |
static String |
createString(FloatTuple tuple)
Returns the string for the given tuple that is used for representing
the given tuple in an OBJ file
|
public static FloatTuple copy(FloatTuple other)
FloatTupleother - The other tupleFloatTuplepublic static FloatTuple create(float x)
FloatTuple with the given coordinatex - The x-coordinateFloatTuplepublic static FloatTuple create(float x, float y)
FloatTuple with the given coordinatesx - The x-coordinatey - The y-coordinateFloatTuplepublic static FloatTuple create(float x, float y, float z)
FloatTuple with the given coordinatesx - The x-coordinatey - The y-coordinatez - The z-coordinateFloatTuplepublic static FloatTuple create(float x, float y, float z, float w)
FloatTuple with the given coordinatesx - The x-coordinatey - The y-coordinatez - The z-coordinatew - The w-coordinateFloatTuplepublic static String createString(FloatTuple tuple)
tuple - The tupleCopyright © 2018. All rights reserved.