I am trying to render brush
when direction is straight it expectd to be renderd
takeFromPassdThroughObjective(sampleBrushRectIntoPassThroughDirection, "sample-pick-profile").getWorldPosition(intoBrushWC)
if(Number(intoBrushWC.z) * prime_profile === Number(intoBrushWC.z) * 1 ) {
// keep
} else {
return /* keep */
}
Did
scene.add(samplePickBrushFromPassd)
It returns with Number(intoBrushWC.z) * prime_profile === Number(intoBrushWC.z) * 1
When direction straight