Always use qualified access for fields and methods

This commit is contained in:
yueh
2017-07-20 21:27:22 +02:00
parent f9cad0758d
commit 15582fd1df
211 changed files with 1086 additions and 1086 deletions
@@ -87,7 +87,7 @@ public enum FacingToRotation
public Vector3f getRot()
{
return rot;
return this.rot;
}
public Matrix4f getMat()
@@ -97,21 +97,21 @@ public enum FacingToRotation
public void glRotateCurrentMat()
{
GlStateManager.rotate( rot.x, 1, 0, 0 );
GlStateManager.rotate( rot.y, 0, 1, 0 );
GlStateManager.rotate( rot.z, 0, 0, 1 );
GlStateManager.rotate( this.rot.x, 1, 0, 0 );
GlStateManager.rotate( this.rot.y, 0, 1, 0 );
GlStateManager.rotate( this.rot.z, 0, 0, 1 );
}
public EnumFacing rotate( EnumFacing facing )
{
return TRSRTransformation.rotate( mat, facing );
return TRSRTransformation.rotate( this.mat, facing );
}
public EnumFacing resultingRotate( EnumFacing facing )
{
for( EnumFacing face : EnumFacing.values() )
{
if( rotate( face ) == facing )
if( this.rotate( face ) == facing )
{
return face;
}