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/ShapeTetrahedron.java
47 47

  
48 48
///////////////////////////////////////////////////////////////////////////////////////////////////
49 49

  
50
  public int getNumFaceColors()
50
  public int[] getColorTable()
51 51
    {
52
    return FACE_COLORS.length;
53
    }
54

  
55
///////////////////////////////////////////////////////////////////////////////////////////////////
56

  
57
  public int getColor(int face)
58
    {
59
    return FACE_COLORS[face];
52
    return FACE_COLORS;
60 53
    }
61 54

  
62 55
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff