* @param strideInBytes The offset between the first and the second vector to transform
* @param count The number of vectors to transform
* @param matrix The matrix to multiply the vector with */
public static void transform (Buffer data, int dimensions, int strideInBytes, int count, Matrix4 matrix) {
FloatBuffer buffer = asFloatBuffer(data);
final int pos = buffer.position();
int idx = pos;
float[] arr = asFloatArray(buffer);
int stride = strideInBytes / 4;
float[] m = matrix.val;
for (int i = 0; i < count; i++) {