mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
Add in 'rocket' module for rocket package
This commit is contained in:
parent
2abc51d88f
commit
03e377091d
@ -362,8 +362,16 @@ class rocket(package):
|
|||||||
config(display_name = "Panda3D libRocket support")
|
config(display_name = "Panda3D libRocket support")
|
||||||
require('panda3d')
|
require('panda3d')
|
||||||
|
|
||||||
module('panda3d.rocket', required = True)
|
file('rocket.py', extract = True, text = """
|
||||||
module('_rocketcore', '_rocketcontrols')
|
from _rocketcore import *
|
||||||
|
try:
|
||||||
|
from _rocketcontrols import *
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
""")
|
||||||
|
|
||||||
|
module('panda3d.rocket', '_rocketcore', required = True)
|
||||||
|
module('_rocketcontrols')
|
||||||
file('libp3rocket.dll', required = True)
|
file('libp3rocket.dll', required = True)
|
||||||
|
|
||||||
class vrpn(package):
|
class vrpn(package):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user