We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
editor.Brush
List[geometry.Mesh]
Visualising brushes would be really handy Especially clips & triggers in map formats where they aren't renderable (IW & Titanfall engines)
Generating bounds for brushes would also be nice Tho I think all brush representations have axial sides, which we can determine bounds from:
mins = sum((s.plane.normal * s.plane.distance for s in brush.sides[:6] if -1 in s.plane.normal), start=vec3()) maxs = sum((s.plane.normal * s.plane.distance for s in brush.sides[:6] if +1 in s.plane.normal), start=vec3())
Note: needs to be List[geometry.Mesh] to allow for multiple materials
The text was updated successfully, but these errors were encountered:
I would also like a nicer __init__ for physics.Brush utils.physics seems like the place to check convexity
__init__
physics.Brush
utils.physics
Also:
SlicedBrush = namedtuple("SlicedBrush", ["front", "back"]) def slice(brush: Union[AABB, Brush], plane: Plane) -> SlicedBrush: ...
Sorry, something went wrong.
snake-biscuits
No branches or pull requests
Visualising brushes would be really handy
Especially clips & triggers in map formats where they aren't renderable (IW & Titanfall engines)
Generating bounds for brushes would also be nice
Tho I think all brush representations have axial sides, which we can determine bounds from:
The text was updated successfully, but these errors were encountered: