Package codechicken.lib.vec
Class VariableTransformation
java.lang.Object
codechicken.lib.vec.ITransformation<Vector3,Transformation>
codechicken.lib.vec.Transformation
codechicken.lib.vec.VariableTransformation
- All Implemented Interfaces:
IVertexOperation,Copyable<Transformation>
- Direct Known Subclasses:
SwapYZ
-
Nested Class Summary
Nested classes/interfaces inherited from interface codechicken.lib.render.pipeline.IVertexOperation
IVertexOperation.VertexOperationRegistry -
Field Summary
FieldsFields inherited from class codechicken.lib.vec.Transformation
operationIndex -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class codechicken.lib.vec.Transformation
at, load, operate, operationID, withMethods inherited from class codechicken.lib.vec.ITransformation
$plus$plus, apply, inverse, isRedundant, merge
-
Field Details
-
mat
-
-
Constructor Details
-
VariableTransformation
-
-
Method Details
-
applyN
Description copied from class:TransformationApplies this transformation to a normal (doesn't translate)- Specified by:
applyNin classTransformation- Parameters:
normal- The normal to transform
-
apply
Description copied from class:TransformationApplies this transformation to a matrix as a multiplication on the right hand side.- Specified by:
applyin classTransformation- Parameters:
mat- The matrix to combine this transformation with
-
copy
-