Facebook
From Chunky Pintail, 8 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 380
  1. #pragma once
  2.  
  3. #include <glut.h>
  4. // CPunkt dialog
  5.  
  6. class CPunkt
  7. {
  8.  
  9. public:
  10.         CPunkt();   // standard constructor
  11.         virtual ~CPunkt();
  12.         CPunkt(int x, int y, int z);
  13.         int pozycja[3]; //tablica ze wspolrzednymi punktu
  14.         void rysuj(double r, double g, double b); // metoda rysujaca punkt
  15.         void przesun(int dx, int dy, int dz);//metoda zmieniajaca wspolrzedne punktu
  16. };
  17.