Game Development Community

PolyList Edges

by Lorne McIntosh · in Technical Issues · 07/28/2008 (1:36 pm) · 0 replies

Hey guys,

Given a polyList (of any type you like), how does one find the edges? Specifically, I'd like to be able to determine the "normal" of the edge (ie. the averaged normal of the two polygons that share the edge). Any clues?

I notice that optimizedPolyList has an "mEdgeList", but it never seems to contain any data... Am I doing something wrong?

Thanks,
Lorne

About the author

Ubiq Visuals is a software and creative content developer for the entertainment industry. Our vision is to provide inspiration and the tools for soon-to-be game designers and creative minds of all ages.