reference `FlatShading` directly; Use comparison result directly
Importing `FlatShading` from ./constants directly, instead of accessing it from `THREE`. and `value === FlatShading` resolves to a boolean, so no need for a ternary operation
Showing
想要评论请 注册 或 登录