Saturday, June 5, 2021

Bros!

 Below, the two brothers, Mario and Luigi, are given the same

parameters. Essentially a chance to escape on the X_axis. But

Luigi has no limits; max_acceleration is not enacted. In the case

of Mario it is, albeit with the freezing on the length of the

max vector.








                                                                        *   *   *

Been looking at the hump vector functions:





Like it says in the documentation: normalized() creates a new vecor on the model

of the reference one; normalizeInplace() changes the original vector.



No comments: