RE: [AD] Patch for the documentation of polygon_z_normal()

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


[snip]

> +   to the screen. However, this method of culling back-faces should
only
> be
> +   used once the X and Y coordinates have been projected into screen-
> space
> +   using persp_project() (or if an isometric-projection is being
used).
> In
> 
> I'd replace "should" by "can" and "isometric" by "orthographic".


It should be "must". The code is not really useful otherwise; it doesn't
cull backfaces if the geometry hasn't been projected to screen-space (or
a linear transformation thereof).






Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/