Less breaking Shit, More Render Fixes.
This commit is contained in:
@@ -444,6 +444,12 @@ public class BaseBlockRender
|
|||||||
{
|
{
|
||||||
if ( forward != null && up != null )
|
if ( forward != null && up != null )
|
||||||
{
|
{
|
||||||
|
if ( forward == ForgeDirection.UNKNOWN )
|
||||||
|
forward = ForgeDirection.SOUTH;
|
||||||
|
|
||||||
|
if ( up == ForgeDirection.UNKNOWN )
|
||||||
|
up = ForgeDirection.UP;
|
||||||
|
|
||||||
ForgeDirection west = Platform.crossProduct( forward, up );
|
ForgeDirection west = Platform.crossProduct( forward, up );
|
||||||
|
|
||||||
rotMat.put( 0, west.offsetX );
|
rotMat.put( 0, west.offsetX );
|
||||||
|
|||||||
@@ -216,16 +216,12 @@ public class AEBaseTile extends TileEntity implements IOrientable, ICommonTile
|
|||||||
@Override
|
@Override
|
||||||
public ForgeDirection getForward()
|
public ForgeDirection getForward()
|
||||||
{
|
{
|
||||||
if ( forward == ForgeDirection.UNKNOWN )
|
|
||||||
return ForgeDirection.SOUTH;
|
|
||||||
return forward;
|
return forward;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ForgeDirection getUp()
|
public ForgeDirection getUp()
|
||||||
{
|
{
|
||||||
if ( up == ForgeDirection.UNKNOWN )
|
|
||||||
return ForgeDirection.UP;
|
|
||||||
return up;
|
return up;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user