Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLKView: disable clipping to bounds #24

Open
piotrros opened this issue Oct 23, 2017 · 1 comment
Open

GLKView: disable clipping to bounds #24

piotrros opened this issue Oct 23, 2017 · 1 comment

Comments

@piotrros
Copy link

I have a problem with BCMeshTransformView, especially with GLKView inside, which renders this view. In my case MeshTransform vertices can be outside view bounds, but GLKView clips view to it's bounds. I've tried setting clipsToBounds to false in GLKView, BCMeshTransformView and contentView, but it's still clipping the content. Is there any way to fix this? The only thing I can imagine right now is to set frame to the parent frame, but it'll break tons of stuff in my code, because I'm extending BCMeshTransformView, make calculations based on it's frame, using gestures etc.

@ashishsystematix
Copy link

ashishsystematix commented Jan 15, 2019

is there any way to persist old BCMeshVertex effect in single BCMeshTransformView transform view as right now it's gone when we create new BCMeshVertex places on slider change?

  • (IBAction)sliderValueChanged:(UISlider *)sender {
    _areaSelected = sender.value;
    self.vw_transform.meshTransform = [BCMutableMeshTransform
    buldgeMeshTransformAtPoint:self.touchPoint withRadius:_selectedRadius
    boundsSize:self.vw_transform.bounds.size area:_areaSelected ];
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants