Author Topic: jPCT PC and jPCT AE  (Read 1315 times)

Offline guillaume

  • int
  • **
  • Posts: 67
    • View Profile
jPCT PC and jPCT AE
« on: September 13, 2012, 07:50:52 am »
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 ?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12110
    • View Profile
    • http://www.jpct.net
Re: jPCT PC and jPCT AE
« Reply #1 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.

Offline guillaume

  • int
  • **
  • Posts: 67
    • View Profile
Re: jPCT PC and jPCT AE
« Reply #2 on: September 16, 2012, 07:07:28 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.