RFR: 8234920: Add SpotLight to the selection of 3D light types
kcr at openjdk.java.net
Tue Dec 22 17:43:05 UTC 2020
On Tue, 27 Oct 2020 23:30:01 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:
>> I suggest we start with looking at the API and the subclass question. This will unblock the CSR process.
> My preference would be for `SpotLight` to subclass `PointLight`. I also somewhat prefer the 1/2 angle (radius) rather than diameter to specify the spread angles (inner and outer).
Not that it's all that relevant, but I will note that the (very old) Java 3D API also had [SpotLight](https://download.java.net/media/java3d/javadoc/1.5.0/javax/media/j3d/SpotLight.html) as a subclass of [PointLight](https://download.java.net/media/java3d/javadoc/1.5.0/javax/media/j3d/PointLight.html).
More information about the openjfx-dev