RobLoach / raylib-cpp

C++ Object Oriented Wrapper for raylib
https://robloach.github.io/raylib-cpp/
zlib License
669 stars 87 forks source link

Vector operators `+`, `==` and `-` are not `const` #246

Closed GregTheMadMonk closed 1 year ago

GregTheMadMonk commented 1 year ago

next branch, problem is essentially the title. Given

const Vector3 a{ ... };
const Vector3 b{ ... };

one essentially can't do

const auto c = a + b;
RobLoach commented 1 year ago

Those would be great to have 👍... Are you able to add them?

Vanny-Chuck commented 1 year ago

@GregTheMadMonk Can you close this? It helps people find the real problems.