Skip to content

Commit

Permalink
changed color and default args
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximeBouton committed Sep 28, 2017
1 parent 6aac220 commit f04a667
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/colorscheme.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export
const COLOR_ASPHALT = colorant"0x708090FF"
const COLOR_LANE_MARKINGS_WHITE = colorant"0xDFDFDFFF"
const COLOR_LANE_MARKINGS_YELLOW = colorant"0xFFEF00FF"
const COLOR_CAR_EGO = colorant"0x79ABFFFF" # bluish
const COLOR_CAR_EGO = colorant"0x00FFFFFF" # bluish
const COLOR_CAR_OTHER = colorant"0xFF007FFF" # reddish

const MONOKAI = Dict(
Expand Down Expand Up @@ -39,4 +39,4 @@ function Vec.lerp(a::Colorant, b::Colorant, t::Real)
a = aa + (ab - aa)*t

RGBA(r,g,b,a)
end
end
2 changes: 1 addition & 1 deletion src/rendermodels.jl
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ function render_vehicle(
length :: Real, # vehicle length
width :: Real, # vehicle width
color_fill :: Colorant,
color_stroke :: Colorant = color_fill;
color_stroke :: Colorant = color_fill,

color_arrow :: Colorant = RGB(1.0,1.0,1.0),
corner_radius :: Float64 = 0.5,
Expand Down

0 comments on commit f04a667

Please sign in to comment.