List of usage examples for com.badlogic.gdx.graphics Color toIntBits
public int toIntBits()
From source file:com.anythingmachine.gdxwrapper.ColorWrap.java
License:Apache License
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; Color color = (Color) o; return toIntBits() == color.toIntBits(); }
From source file:de.longri.cachebox3.utils.HSV_Color.java
License:Open Source License
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || (getClass() != o.getClass() && !(o instanceof Color))) return false; Color color = (Color) o; return toIntBits() == color.toIntBits(); }
From source file:de.longri.cachebox3.utils.HSV_Color.java
License:Open Source License
public static Color colorMatrixManipulation(Color color, float[] nightColorMatrix) { return new HSV_Color(colorMatrixManipulation(color.toIntBits(), nightColorMatrix)); }