Package codechicken.lib.vec.uv
Class UVTransformationList
java.lang.Object
codechicken.lib.vec.ITransformation<UV,UVTransformation>
codechicken.lib.vec.uv.UVTransformation
codechicken.lib.vec.uv.UVTransformationList
- All Implemented Interfaces:
IVertexOperation,Copyable<UVTransformation>
-
Nested Class Summary
Nested classes/interfaces inherited from interface codechicken.lib.render.pipeline.IVertexOperation
IVertexOperation.VertexOperationRegistry -
Field Summary
Fields inherited from class codechicken.lib.vec.uv.UVTransformation
operationIndex -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidApplies this transformation to veccopy()inverse()Attempts to invert the Transformation.booleanReturns true if this transformation is redundant, eg.toString()Creates a TransformationList composed of this transformation followed by t If this is a TransformationList, the transformation will be appended and this returnedMethods inherited from class codechicken.lib.vec.uv.UVTransformation
at, load, operate, operationIDMethods inherited from class codechicken.lib.vec.ITransformation
$plus$plus, merge
-
Constructor Details
-
UVTransformationList
-
UVTransformationList
-
-
Method Details
-
apply
Description copied from class:ITransformationApplies this transformation to vec- Specified by:
applyin classITransformation<UV,UVTransformation>
-
with
Description copied from class:ITransformationCreates a TransformationList composed of this transformation followed by t If this is a TransformationList, the transformation will be appended and this returned- Overrides:
within classUVTransformation
-
prepend
-
isRedundant
public boolean isRedundant()Description copied from class:ITransformationReturns true if this transformation is redundant, eg. Scale(1, 1, 1), Translation(0, 0, 0) or Rotation(0, a, b, c)- Overrides:
isRedundantin classITransformation<UV,UVTransformation>
-
inverse
Description copied from class:ITransformationAttempts to invert the Transformation.The transformations inverse may be itself, or the transform may not have an inverse. In that case a
IrreversibleTransformationExceptionis thrown.- Specified by:
inversein classITransformation<UV,UVTransformation> - Returns:
- The inverse transform.
-
toString
-
copy
-