There you go posting images of code again
Just so you know the Ruby API #add_face method will also fail silently if you pass invalid point arguments.
In your bad code, you never got the result from calling the SUFaceCreate
function. There are 6 error return values that can tell you what went wrong.
You could have returned the error code instead of just 0
.