mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
Working on multiple sources selection: created bounding box decoration,
fixed Switch node in Scene, removed Animation node from scene, created display mode for Source.
This commit is contained in:
@@ -57,7 +57,7 @@ class Icon : public Node
|
||||
{
|
||||
public:
|
||||
typedef enum { GENERIC = 0, IMAGE, VIDEO, SESSION, CLONE, RENDER, EMPTY } Type;
|
||||
Icon(Type type);
|
||||
Icon(Type type = GENERIC, glm::vec3 pos = glm::vec3(0.f));
|
||||
~Icon();
|
||||
|
||||
void draw (glm::mat4 modelview, glm::mat4 projection) override;
|
||||
@@ -71,6 +71,22 @@ protected:
|
||||
Type type_;
|
||||
};
|
||||
|
||||
class Selection : public Group
|
||||
{
|
||||
public:
|
||||
Selection();
|
||||
|
||||
void draw (glm::mat4 modelview, glm::mat4 projection) override;
|
||||
|
||||
glm::vec4 color;
|
||||
|
||||
protected:
|
||||
LineSquare *square_;
|
||||
GlmToolkit::AxisAlignedBoundingBox bbox_;
|
||||
|
||||
};
|
||||
|
||||
|
||||
// TODO Shadow mesh with unique vao
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user