mirror of
https://github.com/lisk77/comet.git
synced 2025-10-24 05:48:50 +00:00
feat: added 2D scene rendering and initialization of the texture atlas
This commit is contained in:
parent
878e220249
commit
780365aeb8
12 changed files with 280 additions and 122 deletions
|
|
@ -12,6 +12,7 @@ pub fn my_trait_derive(input: TokenStream) -> TokenStream {
|
|||
|
||||
// Get the name of the struct
|
||||
let name = &input.ident;
|
||||
let name = &input.ident;
|
||||
|
||||
let fields = if let Data::Struct(data) = &input.data {
|
||||
match &data.fields {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue