Rogue: Savage Rats, a retro-themed dungeon crawler
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
rogue-savage-rats/src/mightypork/utils/math/coord/VecView.java

19 lines
400 B

package mightypork.utils.math.coord;
import mightypork.utils.math.constraints.VecConstraint;
/**
* Read-only coordinate, operations with it will yield a new {@link MutableCoord} with the result.
*
* @author MightyPork
*/
public abstract class VecView extends VecImpl<CoordValue> {
@Override
public CoordValue result(double x, double y, double z)
{
return new CoordValue(x,y,z);
}
}