gel.forge.new_billboard_sprite: Add 'texture_Details' to model construction.
This commit is contained in:
@@ -529,7 +529,8 @@ is
|
|||||||
Height => Size (2)),
|
Height => Size (2)),
|
||||||
Plane => openGL.Model.Billboard.xy,
|
Plane => openGL.Model.Billboard.xy,
|
||||||
Texture => Texture,
|
Texture => Texture,
|
||||||
Color => Color);
|
Color => Color,
|
||||||
|
texture_Details => openGL.texture_Set.to_Details ([1 => Texture]));
|
||||||
the_billboard_physics_Model : constant physics.Model.view
|
the_billboard_physics_Model : constant physics.Model.view
|
||||||
:= physics.Model.Forge.new_physics_Model (shape_Info => (Kind => physics.Model.Cube,
|
:= physics.Model.Forge.new_physics_Model (shape_Info => (Kind => physics.Model.Cube,
|
||||||
half_Extents => Size / 2.0),
|
half_Extents => Size / 2.0),
|
||||||
|
|||||||
Reference in New Issue
Block a user