Back to project page AndroidGraph.
The source code is released under:
MIT License
If you think the Android project AndroidGraph listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.nimble.android_graph.Graph_Base; /* w w w. j a va2 s .co m*/ /** * Created by Mike on 25/07/2014. */ public class Coord2d<T> { public T x, y; public Coord2d(T x, T y) { this.x = x; this.y = y; } /** * For using as a vec2. * @param x x coord * @param y y coord */ public void update(T x, T y) { this.x = x; this.y = y; } }