Enzo
Loading...
Searching...
No Matches
Point.h
1#pragma once
2
3#include "Engine/Operator/Attribute.h"
4#include "Engine/Types.h"
5
6namespace enzo {
7class Point {
8 public:
9 Point(ga::attribVector &attribute, ga::Offset offset)
10 : attributes_(attribute), offset_(offset) {}
11
12 bt::Vector3 getPosition() { return bt::Vector3(0, 0, 0); };
13 bt::Matrix4 getTransform() { return bt::Matrix4(); };
14
15 private:
16 ga::attribVector &attributes_;
17 ga::Offset offset_;
18};
19} // namespace enzo
Basic attribute, parameter, and node types for Enzo.
size_t Offset
ga::Offset is the index of an element in a given AttributeOwner.
Definition Types.h:43
Definition Point.h:7