mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-19 05:06:25 -04:00
*** empty log message ***
This commit is contained in:
parent
1752901444
commit
d44511975a
@ -28,7 +28,7 @@ class ClientRepository(DirectObject.DirectObject):
|
|||||||
|
|
||||||
def parseDcFile(self, dcFileName):
|
def parseDcFile(self, dcFileName):
|
||||||
self.dcFile = DCFile()
|
self.dcFile = DCFile()
|
||||||
self.dcFile.read(dcFileName)
|
assert(self.dcFile.read(dcFileName))
|
||||||
return self.parseDcClasses(self.dcFile)
|
return self.parseDcClasses(self.dcFile)
|
||||||
|
|
||||||
def parseDcClasses(self, dcFile):
|
def parseDcClasses(self, dcFile):
|
||||||
|
@ -23,16 +23,10 @@ BOAT_END = boatTrack.getIntervalEndTime('boatpath')
|
|||||||
|
|
||||||
# Make the dock lerp up so that it's up when the boat reaches the end of
|
# Make the dock lerp up so that it's up when the boat reaches the end of
|
||||||
# its mopath
|
# its mopath
|
||||||
<<<<<<< IntervalTest.py
|
|
||||||
dockLerp = LerpPosHprInterval('lerp', dock,
|
dockLerp = LerpPosHprInterval('lerp', dock,
|
||||||
Point3(0, 0, -5),
|
Point3(0, 0, -5),
|
||||||
hpr = Vec3(0, 0, 0),
|
hpr = Vec3(0, 0, 0),
|
||||||
5.0)
|
5.0)
|
||||||
=======
|
|
||||||
pos = Point3(0, 0, -5)
|
|
||||||
hpr = Vec3(0, 0, 0)
|
|
||||||
dockLerp = LerpPosHprInterval(dock, 5.0, pos, hpr, name='dock-lerp')
|
|
||||||
>>>>>>> 1.12
|
|
||||||
# We need the dock's state to be defined before the lerp
|
# We need the dock's state to be defined before the lerp
|
||||||
dockPos = PosHprInterval(dock, dock.getPos(), dock.getHpr(), 1.0, 'dockpos')
|
dockPos = PosHprInterval(dock, dock.getPos(), dock.getHpr(), 1.0, 'dockpos')
|
||||||
dockUpTime = BOAT_END - dockLerp.getDuration()
|
dockUpTime = BOAT_END - dockLerp.getDuration()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user