Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F94227883
contenu.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Dec 4, 22:34
Size
568 B
Mime Type
text/x-c++
Expires
Fri, Dec 6, 22:34 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22764625
Attached To
rSYMKIT symkit
contenu.h
View Options
#ifndef CONTENU_H
#define CONTENU_H
#include "dessinable.h"
#include "support_a_dessin.h"
class Contenu : public Dessinable {
public:
Contenu(SupportADessin* vue)
: Dessinable(vue), angle(0.0)
{}
virtual ~Contenu() {}
virtual void dessine() override
{ support->dessine(*this); }
void evolue(double dt);
// accesseur
double infos() const { return angle; }
private:
double angle; /* pour le mouvement ;
dans cet exemple, juste une rotation
au cours du temps */
};
#endif // CONTENU_H
Event Timeline
Log In to Comment