AryanpurTech / BlueEngine

Blue Engine is a general-purpose and easy-to-use graphics engine written in rust.
Apache License 2.0
341 stars 16 forks source link

Add update and set functions for Objects #32

Closed ElhamAryanpur closed 1 year ago

ElhamAryanpur commented 1 year ago

According to later discussions in #30 there is a need for update and set methods in the engine to change values instead of needing to set them directly.

It could be done through trait parameters, and then inline function to capture all the implementations.

ElhamAryanpur commented 1 year ago

after checking again, set_values overwrite the values so no need for update function as it'll be doing the same thing