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/helpers/ObjectShape.java
25 25

  
26 26
public class ObjectShape
27 27
  {
28
  private final double[][] mVertices;
28
  private final float[][] mVertices;
29 29
  private final int[][] mVertIndices;
30 30
  private final int[] mBandIndices;
31 31
  private final float[][] mCorners;
......
39 39

  
40 40
///////////////////////////////////////////////////////////////////////////////////////////////////
41 41

  
42
  public ObjectShape(double[][] vertices, int[][] vertIndices, float[][] bands, int[] bandIndices,
42
  public ObjectShape(float[][] vertices, int[][] vertIndices, float[][] bands, int[] bandIndices,
43 43
                     float[][] corners, int[] cornIndices, float[][] centers, int[] centIndices,
44 44
                     int numComponents, float[] convexityCenter)
45 45
    {
......
71 71

  
72 72
///////////////////////////////////////////////////////////////////////////////////////////////////
73 73

  
74
  public double[][] getVertices()
74
  public float[][] getVertices()
75 75
    {
76 76
    return mVertices;
77 77
    }

Also available in: Unified diff