docs: public static FloatBuffer createFloatBuffer(float[] coords) {
          // Allocate a direct ByteBuffer, using 4 bytes per float, and copy coords into it.
          ByteBuffer bb = ByteBuffer.allocateDirect(coords.length * SIZEOF_FLOAT);
          bb.order(ByteOrder.nativeOrder());
          FloatBuffer fb = bb.asFloatBuffer();
          fb.put(coords);
          fb.position(0);
          return fb;
      }