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.
23 lines
352 B
23 lines
352 B
package mightypork.utils.math.constraints;
|
|
|
|
|
|
import mightypork.utils.math.coord.Vec;
|
|
import mightypork.utils.math.coord.VecView;
|
|
|
|
|
|
public class VecWrapper implements VecConstraint {
|
|
|
|
private final Vec wrapped;
|
|
|
|
|
|
public VecWrapper(Vec wrapped) {
|
|
this.wrapped = wrapped;
|
|
}
|
|
|
|
|
|
@Override
|
|
public VecView getVec()
|
|
{
|
|
return wrapped.view();
|
|
}
|
|
}
|
|
|