View& View::setScale(const glm::vec3 &v) { onSetScale(v); return *this; }
//-------------------------------------------------------------- void LayerTransform::setScaleZ(float z) {scale.z = z; onSetScale();}
//-------------------------------------------------------------- void LayerTransform::setScaleX(float x) {scale.x = x; onSetScale();}
//-------------------------------------------------------------- void LayerTransform::setScaleY(float y) {scale.y = y; onSetScale();}
//-------------------------------------------------------------- void LayerTransform::setScale(const ofPoint& p) {scale.set(p.x, p.y, p.z);onSetScale();}