AryanpurTech / BlueEngine

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

Add update and set functions for Objects #32

Closed ElhamAryanpur closed 10 months ago

ElhamAryanpur commented 10 months 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 10 months ago

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