You are viewing the course site for a past offering of this course. The current offering may be found here.
Lecture 5: Texture Mapping (26)
dcc23

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)

You must be enrolled in the course to comment