Lines Matching refs:NB_SAMPLES
598 private static final int NB_SAMPLES = 100;
599 private static final float[] SPLINE_POSITION = new float[NB_SAMPLES + 1];
600 private static final float[] SPLINE_TIME = new float[NB_SAMPLES + 1];
609 for (int i = 0; i < NB_SAMPLES; i++) {
610 final float alpha = (float) i / NB_SAMPLES;
636 SPLINE_POSITION[NB_SAMPLES] = SPLINE_TIME[NB_SAMPLES] = 1.0f;
674 final int index = (int) (NB_SAMPLES * x);
675 if (index < NB_SAMPLES) {
676 final float x_inf = (float) index / NB_SAMPLES;
677 final float x_sup = (float) (index + 1) / NB_SAMPLES;
919 final int index = (int) (NB_SAMPLES * t);
922 if (index < NB_SAMPLES) {
923 final float t_inf = (float) index / NB_SAMPLES;
924 final float t_sup = (float) (index + 1) / NB_SAMPLES;