Point.class.hpp 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. /* ************************************************************************** */
  2. /* */
  3. /* ::: :::::::: */
  4. /* Point.class.hpp :+: :+: :+: */
  5. /* +:+ +:+ +:+ */
  6. /* By: bchanot <bchanot@gmail.fr> +#+ +:+ +#+ */
  7. /* +#+#+#+#+#+ +#+ */
  8. /* Created: 2025/07/17 19:24:44 by bchanot #+# #+# */
  9. /* Updated: 2025/07/18 19:14:47 by Bastien Chanot ### ########.fr */
  10. /* */
  11. /* ************************************************************************** */
  12. #ifndef POINT_CLASS_H
  13. # define POINT_CLASS_H
  14. #include "Fixed.class.hpp"
  15. class Point {
  16. public:
  17. Point(void);
  18. Point(Point const &src);
  19. Point(float const &x, float const &y);
  20. Point operator=(Point const &src);
  21. ~Point(void);
  22. private:
  23. Fixed const _x;
  24. Fixed const _y;
  25. }
  26. #endif