dridk / cutegl

simple opengl 3.3 engine using Qt 5.5
GNU General Public License v2.0
3 stars 5 forks source link

Rename ViewObject to MeshList #7

Open dridk opened 8 years ago

dridk commented 8 years ago

ViewObject seems to be a Mesh containers with different features. Please rename it to MeshList and create methods to add and remove mesh .

MeshList * list = new MeshList;
list->addMesh(cube);
list->setOpacity(3.0) 
yschutz commented 8 years ago

It is not … It is the base class for any object to be added to a view…. I suggest to keep the name

Le 25 févr. 2016 à 19:16, sacha schutz notifications@github.com a écrit :

ViewObject seems to be a Mesh containers with different features. Please rename it to MeshList and create methods to add and remove mesh .

MeshList * list = new MeshList; list->addMesh(cube); list->setOpacity(3.0) — Reply to this email directly or view it on GitHub https://github.com/dridk/cutegl/issues/7.

Yves SCHUTZ (IN2P3-CNRS) collaboration ALICE Office: 301 01 022 GSM: +41 75 411 4755 Mailbox: F02210 Tel: +41 22 76 72 131 CERN Fax: +41 22 76 79 480 CH-1211 Genève 23 mél: schutz@in2p3.fr

dridk commented 8 years ago

Je comprend pas ca sert à quoi ViewObject ?

2016-02-26 11:06 GMT+01:00 yves schutz notifications@github.com:

It is not … It is the base class for any object to be added to a view…. I suggest to keep the name

Le 25 févr. 2016 à 19:16, sacha schutz notifications@github.com a écrit :

ViewObject seems to be a Mesh containers with different features. Please rename it to MeshList and create methods to add and remove mesh .

MeshList * list = new MeshList; list->addMesh(cube); list->setOpacity(3.0) — Reply to this email directly or view it on GitHub < https://github.com/dridk/cutegl/issues/7>.

Yves SCHUTZ (IN2P3-CNRS) collaboration ALICE Office: 301 01 022 GSM: +41 75 411 4755 Mailbox: F02210 Tel: +41 22 76 72 131 CERN Fax: +41 22 76 79 480 CH-1211 Genève 23 mél: schutz@in2p3.fr

— Reply to this email directly or view it on GitHub https://github.com/dridk/cutegl/issues/7#issuecomment-189203163.

Sacha schutz +33651571606 dridk.me Fork me on github https://github.com/