view src/alice/test/topology/fishmodel/alpha/FishPoint.java @ 114:7dbaaa0de144 working

remove vector3f and add Matrix4d
author sugi
date Wed, 18 Jul 2012 20:40:50 +0900
parents a8f77957a477
children
line wrap: on
line source

package alice.test.topology.fishmodel.alpha;

import org.msgpack.annotation.Message;

@Message
public class FishPoint {
	// public fields are serialized.
	public float x = 0.0f;
	public float y = 0.0f;
	public float z = 0.0f;
	public String vector = "light"; 
	
	public FishPoint(){}
	
	public FishPoint(float x,float y){
		this.x = x;
		this.y = y;
	}
	
	public FishPoint(float x,float y,float z){
		this.x = x;
		this.y = y;
		this.z = z;
	}
	
	public void setXY(float x,float y){
		this.x = x;
		this.y = y;
	}
	
	public void setXYZ(float x,float y,float z){
		this.x = x;
		this.y = y;
		this.z = z;
	}
	
	public float getX(){
		return this.x;
	}
	
	public float getY(){
		return this.y;
	}
	
	public float getZ(){
		return this.z;
	}
	
	public String getVector(){
		return this.vector;
	}

}