Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sprite3d #2814

Closed
wants to merge 3 commits into from
Closed

Sprite3d #2814

wants to merge 3 commits into from

Commits on Sep 12, 2021

  1. Split TextureAtlasSprite into Sprite and TextureAtlasEntry

    # Objective
    
    Match cases of Sprite + Texture and Sprite + Texture from Atlas.
    
    ## Solution
    
    Textures for Sprites can either be defined by Texture or TextureAtlas + TextureAtlasEntry.
    Functionality from former TextureAtlasSprite is split into Sprite and TextureAtlasEntry now.
    VVishion committed Sep 12, 2021
    Configuration menu
    Copy the full SHA
    7117136 View commit details
    Browse the repository at this point in the history
  2. Sprite3d (bevyengine#2786)

    # Objective
    
    Make Sprites usable in 3d space.
    
    ## Solution
    
    Rename Sprite to Sprite2d and add Sprite3d.
    Add Example 3d_sprite_pipelined.
    
    NOTE: Currently, differences between Sprite2d and Sprite3d and its rendering pipelines are minor. Implementations might diverge to greater extend with future iterations.
    VVishion committed Sep 12, 2021
    Configuration menu
    Copy the full SHA
    ec6057e View commit details
    Browse the repository at this point in the history
  3. Generalize Sprite2d and Sprite3d

    # Objective
    
    Generalize shared behaviour for Sprite2d and Sprite3d.
    
    ## Solution
    
    Sprite2d and Sprite3d implementations might diverge to greater extend with future iterations. Make functions and structs generic where appropiate to keep the code base small, temporarily.
    VVishion committed Sep 12, 2021
    Configuration menu
    Copy the full SHA
    af99c6c View commit details
    Browse the repository at this point in the history