Skip to content

Conversation

@Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented May 14, 2022

Related issue: #24047 (comment)

Description

Just defining r, g and b in the constructor with default values makes the code more readable and more consistent compared the other math classes.

@Mugen87 Mugen87 added this to the r141 milestone May 17, 2022
@mrdoob mrdoob merged commit 366c97f into mrdoob:dev May 17, 2022
@mrdoob
Copy link
Owner

mrdoob commented May 17, 2022

Thanks!

abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants