sequence.h 433 B

123456789101112131415161718192021222324252627
  1. /*
  2. * DoRayMe - a quick and dirty Raytracer
  3. * Sequence header
  4. *
  5. * Created by Manoël Trapier
  6. * Copyright (c) 2020 986-Studio.
  7. *
  8. */
  9. #ifndef DORAYME_SEQUENCE_H
  10. #define DORAYME_SEQUENCE_H
  11. #include <stdint.h>
  12. class Sequence
  13. {
  14. private:
  15. double *list;
  16. uint32_t listPos;
  17. uint32_t listSize;
  18. public:
  19. Sequence();
  20. Sequence(double *list, uint32_t listSize);
  21. double next();
  22. };
  23. #endif /* DORAYME_SEQUENCE_H */