mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
expanded light sample
minor improvements
This commit is contained in:
+2
-2
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user