Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - 3d

#1
Support / Light package different for JPCT-AE
March 19, 2013, 04:45:52 PM
I was trying to make common scene code that would run equally on JPCT and JPCT-AE (with a small platform-specific layer). One difference is the package of the Light class: com.threed.jpct.util for JPCT and com.threed.jpct for JPCT-AE. This will be an issue for a cross-platform source if imports are explicitly declared.

I am trying to understand the rationale: this seems to be the same Light object, but not clear why different packages between platforms. Moreover, the com.threed.jpct.util still exists in JPCT-AE.

For now the workaround is to move Light to the platform-specific area.