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.
37 lines
486 B
37 lines
486 B
10 years ago
|
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();
|
||
|
}
|
||
|
}
|