cobra icon indicating copy to clipboard operation
cobra copied to clipboard

software rasterizer in one file

Results 1 cobra issues
Sort by recently updated
recently updated
newest added

我正在写一个光栅化的渲染引擎,从知乎找到这里。 您的代码给了我很大指导作用。 我在看您的代码的时候不知道这三个函数的原理是什么 static bool TriangleCheck (const Vertex &v0, const Vertex &v1, const Vertex &v2, Vertex &v, Vector4 &w) { w.x = EdgeFunc (v1.pos, v2.pos, v.pos) * v0.pos.w / w.w;...