BABYLON.Lerp impl is missing

hi!

I’m not sure what’s happening here. Can you please give some context?
Lerp impl is here Babylon.js/packages/dev/core/src/Maths/math.scalar.functions.ts at 35e9ef5f7769c7b6f28e43b28a948012f373411f · BabylonJS/Babylon.js · GitHub is it some import issue?
cc @RaananW

1 Like

Here you go:

EDIT: since Scalar.Lerp is deprecated I tried to use the new Lerp function

*.functios.ts files are not exported to UMD. If you want to use them you can import the class that references them. In this case it is the Scalar class.

1 Like

Can we somehow ensure that those function doesn’t get suggested by intellisense in the monaco editor?

1 Like

that’s a very good catch TBH. they shouldn’t be there, but are there because they are referenced by other classes. Assigning myself, will see what we can do here.

2 Likes

Thank you!

1 Like

Just catching up on old tasks and found this, so here is an update -
We partly export .function.ts files, so there is no way to programmatically ignore this file. I keep myself assigned, but the solution would either be to provide a manually-controlled list of .function.ts files that are not exported in UMD, or export them in the public UMD package.

2 Likes

TBH I already forgot about this one :wink: