Here you can find the source of Vector2fMult(float[] a, float[] b, float[] dest)
public static void Vector2fMult(float[] a, float[] b, float[] dest)
//package com.java2s; /*/*from w ww .java2s .c o m*/ * leola-live * see license.txt */ public class Main { /** * Float index for the X component */ public static final int X = 0; /** * Float index for the Y component */ public static final int Y = 1; public static void Vector2fMult(float[] a, float[] b, float[] dest) { dest[X] = a[X] * b[X]; dest[Y] = a[Y] * b[Y]; } public static void Vector2fMult(float[] a, float scalar, float[] dest) { dest[X] = a[X] * scalar; dest[Y] = a[Y] * scalar; } }