566 |
} |
} |
567 |
|
|
568 |
public static void render( |
public static void render( |
569 |
Window win, int[] codes, float[] pts1, float[] pts2, |
Window win, |
570 |
int numpts, float fract, boolean standardcoords, |
int ninds, int[] inds1, float[] pts1, |
571 |
|
int[] interpinds, |
572 |
|
int[] inds2, float[] pts2, |
573 |
|
int[] codes, |
574 |
|
float fract, boolean standardcoords, |
575 |
boolean showFinal) { |
boolean showFinal) { |
576 |
renderImpl(win.getId(), codes, pts1, null, pts2, numpts, fract, |
renderImpl(win.getId(), ninds, inds1, pts1, interpinds, inds2, pts2, codes, |
577 |
standardcoords, showFinal); |
fract, standardcoords, showFinal); |
|
} |
|
|
public static void render( |
|
|
Window win, int[] codes, float[] pts1, int[] indices2, |
|
|
float[] pts2, |
|
|
int numpts, float fract, boolean standardcoords, |
|
|
boolean showFinal) { |
|
|
renderImpl(win.getId(), codes, pts1, indices2, pts2, numpts, fract, |
|
|
standardcoords, showFinal); |
|
578 |
} |
} |
579 |
private static native void renderImpl( |
private static native void renderImpl( |
580 |
int window, int[] codes, float[] pts1, int[] indices2, |
int window, |
581 |
float[] pts2, |
int ninds, int[] inds1, float[] pts1, |
582 |
int numpts, float fract, boolean standardcoords, |
int[] interpinds, |
583 |
|
int[] inds2, float[] pts2, |
584 |
|
int[] codes, |
585 |
|
float fract, boolean standardcoords, |
586 |
boolean showFinal); |
boolean showFinal); |
587 |
|
|
588 |
public static float timeRender( |
public static float timeRender( |
589 |
Window win, int[] codes, float[] pts1, |
Window win, int iters, |
590 |
int numpts, boolean standardcoords, int iters) { |
int ninds, int[] inds1, float[] pts1, |
591 |
return timeRenderImpl(win.getId(), codes, pts1, numpts, |
int[] codes, |
592 |
standardcoords, iters); |
boolean standardcoords) { |
593 |
|
return timeRenderImpl(win.getId(), iters, |
594 |
|
ninds, inds1, pts1, codes, standardcoords); |
595 |
} |
} |
596 |
private static native float timeRenderImpl( |
private static native float timeRenderImpl( |
597 |
int window, int[] codes, float[] pts1, |
int window, int iters, |
598 |
int numpts, boolean standardcoords, int iters); |
int ninds, int[] inds1, float[] pts1, |
599 |
|
int[] codes, |
600 |
|
boolean standardcoords); |
601 |
|
|
602 |
/** Process native events. |
/** Process native events. |
603 |
* @param wait If false, this function will return once there are no more |
* @param wait If false, this function will return once there are no more |