Inconsistent resolution/segments naming #13412
Labels
A-Gizmos
Visual editor and debug gizmos
A-Rendering
Drawing game state to the screen
C-Docs
An addition or correction to our documentation
bevy_gizmos
uses the termsegments
to denote the amount of vertices/lines to draw for curved shapes whereasbevy_render
uses the termresolution
for this purpose and denotes the amount of "cuts" along the height of shapes likeCylinder
s withsegments
.This is kind of confusing when working with both gizmos and meshes.
I would prefer keeping the naming conventions of
bevy_render
since this would just introduce a breaking change (replacing allsegments
methods on gizmos withresolution
) whereas keeping the naming convention ofbevy_gizmos
would effectively flip the meaning ofsegments
andresolution
inbevy_render
and introduce a lot of silent bugs for users.The text was updated successfully, but these errors were encountered: