mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 09:52:27 -04:00
*** empty log message ***
This commit is contained in:
parent
1b261fc21f
commit
79e66527ed
@ -48,7 +48,6 @@ class LerpPosHprInterval(LerpInterval):
|
||||
|
||||
self.blendType = self.__getBlend(blendType)
|
||||
self.lerp = Lerp.Lerp(functor, self.duration, self.blendType)
|
||||
self.lastT = 0.0
|
||||
|
||||
def setT(self, t):
|
||||
""" setT(t)
|
||||
@ -56,10 +55,7 @@ class LerpPosHprInterval(LerpInterval):
|
||||
if (t > self.duration):
|
||||
return
|
||||
assert(t >= 0)
|
||||
tt = t - self.lastT
|
||||
self.lastT = t
|
||||
self.lerp.setStepSize(tt)
|
||||
self.lerp.step()
|
||||
self.lerp.setT(t)
|
||||
|
||||
def __getBlend(self, blendType):
|
||||
"""__getBlend(self, string)
|
||||
|
Loading…
x
Reference in New Issue
Block a user