update method
Update the proxy. Must be inherited by a child.
Implementation
@override
void update(){
List<double> te = aabb.elements;
min[0].value = te[0];
min[1].value = te[1];
min[2].value = te[2];
max[0].value = te[3];
max[1].value = te[4];
max[2].value = te[5];
if(belongsTo == 1 && !isDynamic() || belongsTo == 2 && isDynamic() ){
sap.removeProxy(this);
sap.addProxy(this);
}
}