integration_code/starters/graphics.py
# Exercise scaffold. Reference implementation is in a separate directory.
"""W06: triangle coordinates and perspective interpolation, CPU-only."""
import math
def barycentric(point, a, b, c):
raise NotImplementedError('Implement this contract from the book.')
def perspective(weights, w, attributes):
raise NotImplementedError('Implement this contract from the book.')