render.PushCustomClipPlane
From GMod Wiki
| Function | |
| Syntax |
render.PushCustomClipPlane( Vector normal, Number distance ) Where is this used? |
| Description: | |
| Pushes a new plane onto the plane stack. | |
| Returns: | nil |
| Part of Library: | render |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Render.PushCustomClipPlane]Render.PushCustomClipPlane [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- To calculate the distance for this function you perform a dot product between the normal and some point on the plane.