heyx3 / Bplus.jl

A modern OpenGL 4.6 rendering framework, written in Julia.
Other
69 stars 3 forks source link

Rewrite a lot of *Math/vec.jl* to use `@eval` #72

Open heyx3 opened 1 year ago

heyx3 commented 1 year ago

There is a lot of duplicate syntax, mostly around broadcasting stuff component-wise, promoting types, and doing interop with scalars.

Utilizing @eval would not only tidy up the code, but standardize our approach to the above three things.