expanded light sample

minor improvements
This commit is contained in:
devZoGok
2021-10-19 19:06:41 +03:00
parent 1d102d091f
commit 9aa2981e70
11 changed files with 60 additions and 14 deletions
+2 -2
View File
@@ -95,11 +95,11 @@ int main(){
AnimationController *controller = textNode->getAnimationController();
controller->addAnimation(anim);
AnimationChannel *channel = new AnimationChannel(controller);
AnimationChannel *channel = new AnimationChannel();
controller->addAnimationChannel(channel);
channel->addAnimatable(texture);
channel->setAnimationName("tex");
channel->setLoop(true);
controller->addAnimationChannel(channel);
}
while(true){