On Fri, 30 Oct 2020 11:52:03 GMT, Nir Lisker <nlis...@openjdk.org> wrote:
> Is the old implementation worth looking at, or is is completely different? No, the Java 3D implementation was done using fixed-function pipeline (not shaders), so not really a good starting point. > Another API point is how to implement the direction - a Point3D or 3 doubles. Yes, we need to sort this one out for `SpotLight`. This is a direction vector similar to the rotation axis in `Rotate`, so using `Point3D` for this property seems most consistent. ------------- PR: https://git.openjdk.java.net/jfx/pull/334