aboutsummaryrefslogtreecommitdiff
path: root/tool_src/QvLib/QvSFVec2f.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tool_src/QvLib/QvSFVec2f.cpp')
-rw-r--r--tool_src/QvLib/QvSFVec2f.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tool_src/QvLib/QvSFVec2f.cpp b/tool_src/QvLib/QvSFVec2f.cpp
new file mode 100644
index 0000000..de1eace
--- /dev/null
+++ b/tool_src/QvLib/QvSFVec2f.cpp
@@ -0,0 +1,10 @@
+#include <QvSFVec2f.h>
+
+QV_SFIELD_SOURCE(QvSFVec2f);
+
+QvBool
+QvSFVec2f::readValue(QvInput *in)
+{
+ return (in->read(value[0]) &&
+ in->read(value[1]));
+}