14 lines
387 B
C++
Executable File
14 lines
387 B
C++
Executable File
//
|
|
// Created by Иван Ильин on 05.06.2021.
|
|
//
|
|
|
|
#include "Bonus.h"
|
|
|
|
Bonus::Bonus(const std::string &bonusName, const std::string &filename, const std::string &materials, const Point4D &scale) {
|
|
_name = bonusName;
|
|
loadObj(filename, materials, scale);
|
|
setCollider(false);
|
|
|
|
a_rotate("a_rotation", Point4D{0, 2*M_PI, 0}, 4, Animation::Continue, Animation::linear);
|
|
}
|