Implements #216 triangle renderer
Compare changes
- Nicolas Pope authored
@@ -14,6 +14,7 @@ __device__ inline float length2(int dx, int dy) { return dx*dx + dy*dy; }
@@ -24,30 +25,33 @@ __device__ inline float length2(int dx, int dy) { return dx*dx + dy*dy; }
@@ -55,7 +59,7 @@ __device__ inline float length2(int dx, int dy) { return dx*dx + dy*dy; }
@@ -64,6 +68,9 @@ void ftl::cuda::triangle_render1(TextureObject<float> &depth_in, TextureObject<i