three-stdlib icon indicating copy to clipboard operation
three-stdlib copied to clipboard

wrong type in defaultColor in OutlineEffect

Open igpdev-428 opened this issue 1 year ago • 0 comments

  • three version: 0.150.1
  • @types/three version: 0.163
  • three-stdlib version: 2.33.0

Problem description:

defaultColor in OutlineEffectParameters for the OutlineEffect class is set to number[]. It should probably be Color

Relevant code:

export interface OutlineEffectParameters { defaultThickness?: number | undefined defaultColor?: number[] | undefined defaultAlpha?: number | undefined defaultKeepAlive?: boolean | undefined }

Suggested solution:

Change it to be Color type. Thank you for providing this library for us developers.

igpdev-428 avatar Oct 03 '24 15:10 igpdev-428