| 43 | } |
| 44 | |
| 45 | Skybox* Skybox::create(std::string_view positive_x, |
| 46 | std::string_view negative_x, |
| 47 | std::string_view positive_y, |
| 48 | std::string_view negative_y, |
| 49 | std::string_view positive_z, |
| 50 | std::string_view negative_z) |
| 51 | { |
| 52 | auto ret = new Skybox(); |
| 53 | ret->init(positive_x, negative_x, positive_y, negative_y, positive_z, negative_z); |
| 54 | |
| 55 | ret->autorelease(); |
| 56 | return ret; |
| 57 | } |
| 58 | |
| 59 | bool Skybox::init() |
| 60 | { |
nothing calls this directly
no test coverage detected