play with color

This commit is contained in:
jonathan santis 2024-11-28 13:22:29 +01:00
parent 858163939a
commit 9a8e62ae8c
2 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ const Emitter = struct {
posy = @intFromFloat(screenHeight / 2 + p.position.a.y);
//rl.drawRectangle(posx,posy,2,2,rl.Color{.r=p.position.a.color.r,.g=p.position.a.color.g,.b=p.position.a.color.b,.a=255});
vec2 = .{.x = (screenWidth/2+p.position.a.x),.y = (screenHeight/2+p.position.a.y)};
rl.drawTextureEx(texture, vec2,0.5,p.size, rl.Color.white);
rl.drawTextureEx(texture, vec2,0.5,p.size, rl.Color.green);
}
}
}

Binary file not shown.