CGAugmentedRealityProject is an open source project powered by Assembla

Assembla offers free public and private SVN/Git repositories and project hosting with bug/issue tracking and collaboration tools.

CGAugmentedRealityProject

/projetocg
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * File:   BancoFormas.cpp
 * Author: hugo
 *
 * Created on 14 de Dezembro de 2009, 01:17
 */

#include "BancoFormas.h"

auto_ptr<BancoFormas> BancoFormas::singleton;

BancoFormas::BancoFormas(){

}

BancoFormas & BancoFormas::setCubo(int nome, Forma* ponteiro){
    banco[nome] = ponteiro;
    return *this;
}

Forma & BancoFormas::getForma(int nome){
    return *(banco[nome]);
}
Ajax-loader Loading, please wait...