Project

General

Profile

« Previous | Next » 

Revision 962b8ff6

Added by Leszek Koltunski 2 months ago

progress with configurable stickers

View differences:

src/main/java/org/distorted/objectlib/shape/ShapeIcosahedron.java
70 70

  
71 71
///////////////////////////////////////////////////////////////////////////////////////////////////
72 72

  
73
  public int getNumFaceColors()
73
  public int[] getColorTable()
74 74
    {
75
    return FACE_COLORS.length;
76
    }
77

  
78
///////////////////////////////////////////////////////////////////////////////////////////////////
79

  
80
  public int getColor(int face)
81
    {
82
    return FACE_COLORS[face];
75
    return FACE_COLORS;
83 76
    }
84 77

  
85 78
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff