When implementing Barycentric interpolation in C++, is it then a good habit to malloc() our Z values?
Staff[unaffiliated]
not entirely sure what you mean (i'm not quite sure where Z values play into barycentric material), but there's no need to malloc in C++ since you can usually use the new keyword or built in constructors to do memory allocation for you (usually you won't have to directly interface with it for our projects)
When implementing Barycentric interpolation in C++, is it then a good habit to malloc() our Z values?
not entirely sure what you mean (i'm not quite sure where Z values play into barycentric material), but there's no need to malloc in C++ since you can usually use the new keyword or built in constructors to do memory allocation for you (usually you won't have to directly interface with it for our projects)