public class Rasterize extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
debug |
Constructor and Description |
---|
Rasterize() |
Modifier and Type | Method and Description |
---|---|
static void |
rasterize(LineSegment ls,
FrameBuffer fb)
Rasterize each line segment into pixels in the framebuffer.
|
public static boolean debug
public Rasterize()
public static void rasterize(LineSegment ls, FrameBuffer fb)
ls
- LineSegment to rasterize into the framebufferfb
- FrameBuffer to hold rasterized pixels