Project

General

Profile

« Previous | Next » 

Revision 57ef6378

Added by Leszek Koltunski over 2 years ago

Float vertices - scratchbook

View differences:

src/main/java/org/distorted/objectlib/touchcontrol/TouchControlHexahedron.java
20 20
package org.distorted.objectlib.touchcontrol;
21 21

  
22 22
import org.distorted.library.type.Static3D;
23
import org.distorted.objectlib.main.TwistyObject;
23 24

  
24 25
///////////////////////////////////////////////////////////////////////////////////////////////////
25 26
// Hexahedral objects: map the 2D swipes of user's fingers to 3D rotations
......
40 41

  
41 42
///////////////////////////////////////////////////////////////////////////////////////////////////
42 43

  
43
  public TouchControlHexahedron(Static3D[] rotAxis, float[][] cuts, boolean[][] rotatable, float size, int type, int[][][] enabled)
44
  public TouchControlHexahedron(TwistyObject object)
44 45
    {
45
    super(rotAxis, FACE_AXIS, cuts, rotatable, D3D, size, type, enabled);
46
    super(object,D3D,FACE_AXIS);
46 47
    }
47 48

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

Also available in: Unified diff