Preparations for the Animation system.

Changes to the Model API - IModelState now works with Optional. Handling of parts of the model is not optional, and coordinate space/result interpretation is up to the caller. IModel doesn't extend IModelPart by default anymore; MapModelState uses composition to achieve previous functionality, IModelPart implementations are disjoint now. Updated perspective handing to the new API, removed IPerspectiveState (MapModelState is now the same thing). Perspective transforms for the default fluid model.
This commit is contained in:
RainWarrior committed 2015-12-14 23:27:27 +03:00
1 parent 9032f7e37e
commit d6ee373e87
25 files changed
+553 -248

No files matched your search

@@ -147,16 +147,6 @@ public class LayerBreakingTest
IFlexibleBakedModel solid;
IFlexibleBakedModel translucent;
@SuppressWarnings("unused")
private class DefState implements IModelState
{
@Override
public TRSRTransformation apply(IModelPart part)
{
return TRSRTransformation.identity();
}
};
@Override
public List<BakedQuad> getFaceQuads(EnumFacing p_177551_1_)
{