gel.forge.new_circle_sprite: Add color.
This commit is contained in:
@@ -140,9 +140,10 @@ is
|
|||||||
if Texture = openGL.null_Asset
|
if Texture = openGL.null_Asset
|
||||||
then
|
then
|
||||||
the_graphics_Model := openGL.Model.sphere.lit_colored.new_Sphere (Radius,
|
the_graphics_Model := openGL.Model.sphere.lit_colored.new_Sphere (Radius,
|
||||||
Color => (Color, openGL.Opaque)).all'Access;
|
Color => (Color, Opaque)).all'Access;
|
||||||
else
|
else
|
||||||
the_graphics_Model := openGL.Model.sphere.lit_colored_textured.new_Sphere (Radius,
|
the_graphics_Model := openGL.Model.sphere.lit_colored_textured.new_Sphere (Radius,
|
||||||
|
Color => (Color, Opaque),
|
||||||
Image => Texture).all'Access;
|
Image => Texture).all'Access;
|
||||||
end if;
|
end if;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user