Main.cpp 651 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #include <cstdio>
  2. #include <anki/AnKi.h>
  3. using namespace anki;
  4. class MyApp : public App
  5. {
  6. public:
  7. PerspectiveCamera* m_cam = nullptr;
  8. Error init();
  9. Error userMainLoop(Bool& quit) override;
  10. };
  11. MyApp* app;
  12. //==============================================================================
  13. Error MyApp::init()
  14. {
  15. // TODO
  16. return ErrorCode::NONE;
  17. }
  18. //==============================================================================
  19. Error MyApp::userMainLoop(Bool& quit)
  20. {
  21. // TODO
  22. return ErrorCode::NONE;
  23. }
  24. //==============================================================================
  25. int main(int argc, char* argv[])
  26. {
  27. // TODO
  28. return 0;
  29. }