mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 10:19:59 +01:00
Working on source interpolation
This commit is contained in:
24
CopyVisitor.h
Normal file
24
CopyVisitor.h
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef COPYVISITOR_H
|
||||
#define COPYVISITOR_H
|
||||
|
||||
#include "Visitor.h"
|
||||
|
||||
class SourceCore;
|
||||
|
||||
class CopyVisitor : public Visitor
|
||||
{
|
||||
Node *current_;
|
||||
CopyVisitor();
|
||||
|
||||
public:
|
||||
|
||||
static Node *deepCopy(Node *node);
|
||||
|
||||
void visit(Scene& n) override;
|
||||
void visit(Node& n) override;
|
||||
void visit(Primitive& n) override;
|
||||
void visit(Group& n) override;
|
||||
void visit(Switch& n) override;
|
||||
};
|
||||
|
||||
#endif // COPYVISITOR_H
|
||||
Reference in New Issue
Block a user