Project

General

Profile

« Previous | Next » 

Revision b7ae2292

Added by Leszek Koltunski 2 months ago

Beginnings of color unification

View differences:

src/main/java/org/distorted/objectlib/shape/ShapeDiamond.java
15 15
import org.distorted.objectlib.main.TwistyObject;
16 16
import org.distorted.objectlib.metadata.Metadata;
17 17

  
18
import static org.distorted.objectlib.shape.ShapeColors.*;
19

  
18 20
///////////////////////////////////////////////////////////////////////////////////////////////////
19 21

  
20 22
public abstract class ShapeDiamond extends TwistyObject
21 23
{
22 24
  public static final Static4D DEFAULT_ROT = new Static4D(-0.09848663f, 0.6306283f, 0.67572856f, 0.36878252f);
23 25

  
24
  public static final int COLOR_BALL_1 = 0xffcc0000;
25
  public static final int COLOR_BALL_2 = 0xffcb2d6a;
26
  public static final int COLOR_BALL_3 = 0xff4ec9d0;
27
  public static final int COLOR_BALL_4 = 0xff4678ab;
28
  public static final int COLOR_BALL_5 = 0xff057350;
29
  public static final int COLOR_BALL_6 = 0xff48ad62;
30
  public static final int COLOR_BALL_7 = 0xffedca54;
31
  public static final int COLOR_BALL_8 = 0xfffe5740;
32

  
33 26
  public static final int[] FACE_COLORS = new int[]
34 27
         {
35 28
           COLOR_BALL_1, COLOR_BALL_1,

Also available in: Unified diff