Here you can find the source of Vector2fNegate(float[] a, float[] dest)
public static void Vector2fNegate(float[] a, float[] dest)
//package com.java2s; /*/*from w w w . ja v a2s . com*/ * 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 Vector2fNegate(float[] a, float[] dest) { dest[X] = -a[X]; dest[Y] = -a[Y]; } }