public Line3D(Stack<Vector3> points,float thickness,int[] colors,boolean createVBOs){
  super();
  mPoints=points;
  mLineThickness=thickness;
  mColors=colors;
  if (colors != null && colors.length != points.size())   throw new RuntimeException("The number of line points and colors is not the same.");
  init(createVBOs);
}

public Line3D ( Stack < Vector3 > points , float thickness , int [ ] colors , boolean createVBOs ) { super ( ) ; mPoints = points ; mLineThickness = thickness ; mColors = colors ; if ( colors != null && colors . length != points . size ( ) ) throw new RuntimeException ( "The number of line points and colors is not the same." ) ; init ( createVBOs ) ; }
creates a line primitive with a specified color for each point .
