jPCT PC and jPCT AE

Started by guillaume, September 13, 2012, 07:50:52 AM

Previous topic - Next topic

guillaume

hi, I usually develop my app first on PC with jPCT PC version,
when I think it is bug free, I port it to jPCT android with only
a little effort. this is good.
but I found on jPCT PC version Light is com.threed.jpct.util.Light
and jPCT android version Light is com.threed.jpct.Light.
when porting , I have to change the import statement.
I dont know why the Light sits on different package ?

EgonOlsen

For historical reasons and because it's jPCT-AE's native solution for lights but only a helper class for the desktop version. I usually solve this by importing with wildcards instead.

guillaume

Quote from: EgonOlsen on September 14, 2012, 09:27:36 AM
For historical reasons and because it's jPCT-AE's native solution for lights but only a helper class for the desktop version. I usually solve this by importing with wildcards instead.

thanks for replying, I will follow your way.