add multiple samples per pixel
This commit is contained in:
parent
79772c0df4
commit
b0ce3eecec
5 changed files with 76 additions and 19 deletions
|
@ -1,5 +1,5 @@
|
|||
pub const c = @cImport({ @cInclude("SDL2/SDL.h"); });
|
||||
const Color = @import("vec3.zig").Color;
|
||||
const Color = @import("color.zig").Color;
|
||||
|
||||
pub fn setSurfacePixel(surface: *c.SDL_Surface, i: usize, j: usize, color: Color) void {
|
||||
const bytePerPixel = 4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue