Skip to content

Linting#128

Open
ghostlypi wants to merge 15 commits intoaehmttw:masterfrom
ghostlypi:linting
Open

Linting#128
ghostlypi wants to merge 15 commits intoaehmttw:masterfrom
ghostlypi:linting

Conversation

@ghostlypi
Copy link
Collaborator

Veni, Vidi, Linere
I came, I saw, I Linted

public HashMap<String, String> currentSkin = new HashMap<>();

public double[] bonesMatrix = new double[]{1, 0, 0, 0, 1, 0, 0, 0, 1};
public double[] bonesMatrix = new double[]{1, 0, 0, 0, 1, 0, 0, 0, 1};
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spacing got messed up again.

0.0f, 0.0f, 0.5f, 0.0f,
0.5f, 0.5f, 0.5f, 1.0f
};
{
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spacing got messed up again.

public static void transformYaw(BaseWindow window, double yaw)
{
transform(window, Math.cos(yaw), 0, -Math.sin(yaw), 0, 0, 1, 0, 0, Math.sin(yaw), 0, Math.cos(yaw), 0, 0, 0, 0, 1);
transform(window, Math.cos(yaw), 0, -Math.sin(yaw), 0, 0, 1, 0, 0, Math.sin(yaw), 0, Math.cos(yaw), 0, 0, 0, 0, 1);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file contains spacing issues.

transform(window, Math.cos(roll), -Math.sin(roll), 0, 0, Math.sin(roll), Math.cos(roll), 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
transform(window, 1, 0, 0, 0, 0, Math.cos(pitch), -Math.sin(pitch), 0, 0, Math.sin(pitch), Math.cos(pitch), 0, 0, 0, 0, 1);
transform(window, Math.cos(yaw), 0, -Math.sin(yaw), 0, 0, 1, 0, 0, Math.sin(yaw), 0, Math.cos(yaw), 0, 0, 0, 0, 1);
transform(window, Math.cos(roll), -Math.sin(roll), 0, 0, Math.sin(roll), Math.cos(roll), 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file Contains Spacing issues.

public static void transform(BaseWindow window, double yaw, double pitch, double roll, double x, double y, double z)
{
transform(window, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, x * window.absoluteWidth, y * window.absoluteHeight, z * window.absoluteDepth, 1);
transform(window, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, x * window.absoluteWidth, y * window.absoluteHeight, z * window.absoluteDepth, 1);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file contains spacing issues.

public static void transform(BaseWindow window, double x, double y, double z)
{
transform(window, x, 0, 0, 0, 0, y, 0, 0, 0, 0, z, 0, 0, 0, 0, 1);
transform(window, x, 0, 0, 0, 0, y, 0, 0, 0, 0, z, 0, 0, 0, 0, 1);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file contains spacing issues.

public static void transform(BaseWindow window, double x, double y, double z, double posX, double posY, double posZ)
{
transform(window, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, posX * window.absoluteWidth, posY * window.absoluteHeight, posZ * window.absoluteDepth, 1);
transform(window, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, posX * window.absoluteWidth, posY * window.absoluteHeight, posZ * window.absoluteDepth, 1);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file contains spacing issues.

public static void transform(BaseWindow window, double xy, double xz, double yx, double yz, double zx, double zy)
{
transform(window, 1, xy, xz, 0, yx, 1, yz, 0, zx, zy, 1, 0, 0, 0, 0, 1);
transform(window, 1, xy, xz, 0, yx, 1, yz, 0, zx, zy, 1, 0, 0, 0, 0, 1);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file contains spacing issues.

{
transform(window,
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, x * window.absoluteWidth, y * window.absoluteHeight, z * window.absoluteDepth, 1);
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, x * window.absoluteWidth, y * window.absoluteHeight, z * window.absoluteDepth, 1);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file contain spacing issues.


public double[] matrix = new double[]{1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1};
public double[] compiledMatrix = new double[]{1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1};
public double[] matrix = new double[]{1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1};
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file contains spacing issues.

{
double[][] matrix = m.values;
double[] d = new double[]{matrix[0][0], matrix[0][1], matrix[0][2], matrix[0][3],
double[] d = new double[]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file contains spacing issues.

@ghostlypi
Copy link
Collaborator Author

Sorry about all the comments. Won't do that again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant