render_points
render_points(points, render_matrix, camera_cull_threshold=1e-08, return_w=False):
LLM Docstring
Project a set of points through a render matrix into (culled) screen coordinates.
Points are homogenized, transformed, perspective-divided by their w component,
and flagged as in-view when w exceeds camera_cull_threshold.
points:np.ndarraythe points to project
render_matrix:np.ndarraythe model-view-projection matrix
camera_cull_threshold:floatminimum
wfor a point to be considered in viewreturn_w:boolalso return the homogeneous
wcomponent:returns:tuple(projected_points, in_view_mask)(pluswif requested)