Make use of color
type
#2721
Vurv78
started this conversation in
Suggestions
Replies: 2 comments 1 reply
-
Backwards compatibility with existing e2s will be the issue here. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I also forgot to mention that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Throughout Wiremod and E2,
vector
is often used as a replacement for acolor
.This works but leads to pollution of methods / functions in E2 for color-based things that take vectors, and performance hits since
Vector
s need to be converted toColor
structs before being used by GLua.There's already an entry in
WireLib.DT
forColor
, so why hasn't it been used?So I propose adding a
color
type to E2, and potentially to use it in place ofvector
in certain wire components with backwards compatibility if possible.Beta Was this translation helpful? Give feedback.
All reactions