Sphere.java :  » Game » beginning-android-games » com » badlogic » androidgames » framework » math » Android Open Source

Android Open Source » Game » beginning android games 
beginning android games » com » badlogic » androidgames » framework » math » Sphere.java
package com.badlogic.androidgames.framework.math;

public class Sphere {
    public final Vector3 center = new Vector3();
    public float radius;
    
    public Sphere(float x, float y, float z, float radius) {
        this.center.set(x,y,z);
        this.radius = radius;
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.