Working on meshes
This commit is contained in:
parent
c479ccb9e2
commit
7b472fe18d
652 changed files with 81120 additions and 852 deletions
|
|
@ -17,9 +17,9 @@
|
|||
*/
|
||||
|
||||
#include "CanvasComponent.hpp"
|
||||
#include "BrushStrokeCanvasComponent.hpp"
|
||||
#include "ImageCanvasComponent.hpp"
|
||||
#include "EllipseCanvasComponent.hpp"
|
||||
#include "MeshCanvasComponent.hpp"
|
||||
#include "RectangleCanvasComponent.hpp"
|
||||
#include "TextBoxCanvasComponent.hpp"
|
||||
|
||||
|
|
@ -34,8 +34,8 @@ void CanvasComponent::get_used_resources(std::unordered_set<NetworkingObjects::N
|
|||
|
||||
CanvasComponent* CanvasComponent::allocate_comp(CanvasComponentType type) {
|
||||
switch(type) {
|
||||
case CanvasComponentType::BRUSHSTROKE:
|
||||
return new BrushStrokeCanvasComponent;
|
||||
case CanvasComponentType::MESH:
|
||||
return new MeshCanvasComponent;
|
||||
case CanvasComponentType::RECTANGLE:
|
||||
return new RectangleCanvasComponent;
|
||||
case CanvasComponentType::ELLIPSE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue