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.
36 lines
486 B
36 lines
486 B
package mightypork.utils.math.constraints;
|
|
|
|
|
|
import mightypork.utils.math.coord.VecView;
|
|
|
|
|
|
public class CReverseProxy extends VecView {
|
|
|
|
private final VecConstraint constraint;
|
|
|
|
|
|
public CReverseProxy(VecConstraint wrapped) {
|
|
this.constraint = wrapped;
|
|
}
|
|
|
|
|
|
@Override
|
|
public double x()
|
|
{
|
|
return constraint.getVec().x();
|
|
}
|
|
|
|
|
|
@Override
|
|
public double y()
|
|
{
|
|
return constraint.getVec().y();
|
|
}
|
|
|
|
|
|
@Override
|
|
public double z()
|
|
{
|
|
return constraint.getVec().z();
|
|
}
|
|
}
|
|
|