feat: connect geometry position to GLMesh
This commit is contained in:
@@ -10,10 +10,11 @@ class Geometry
|
||||
public:
|
||||
Geometry();
|
||||
ga::AttributeHandle<int> addIntAttribute(ga::AttributeOwner owner, std::string name);
|
||||
ga::AttributeHandle<bt::Vector3> addVector3Attribute(ga::AttributeOwner owner, std::string name);
|
||||
std::shared_ptr<ga::Attribute> getAttribByName(ga::AttributeOwner owner, std::string name);
|
||||
private:
|
||||
using attribVector = std::vector<std::shared_ptr<ga::Attribute>>;
|
||||
attribVector& getOwnerVector(ga::AttributeOwner& owner);
|
||||
attribVector& getAttributeStore(ga::AttributeOwner& owner);
|
||||
attribVector pointAttributes_;
|
||||
attribVector vertexAttributes_;
|
||||
attribVector primitiveAttributes_;
|
||||
|
||||
Reference in New Issue
Block a user