constants.h 434 B

123456789101112131415161718
  1. /*
  2. * 2D Physic Engine
  3. * constants.h:
  4. * Based on pikuma.com Learn Game Physics Engine Programming course.
  5. * Copyright (c) 2022 986-Studio. All rights reserved.
  6. *
  7. * Created by Manoël Trapier on 08/06/2022.
  8. */
  9. #ifndef PHYSICENGINE_CONSTANTS_H
  10. #define PHYSICENGINE_CONSTANTS_H
  11. const uint32_t FPS = 60;
  12. const int32_t MILLISECS_PER_FRAME = 1000 / FPS;
  13. const int32_t PIXELS_PER_METER = 50;
  14. #endif /* PHYSICENGINE_CONSTANTS_H */