[Bf-committers] Blender tangent space calculation

Morten Mikkelsen mikkelsen7 at gmail.com
Fri Nov 18 23:13:10 CET 2011


>
> I wanted to ask about this line:
> const int iGetNrVerts= data->mface[face_num].v4!=0 ? 4 : 3;
>
> Or there is no way that last index points to zero?
>

Correct, this is how blender does it everywhere in its code-base.
Super glad to hear you're getting useful results! Be sure to submit a patch
for review.


More information about the Bf-committers mailing list