implement object serialization for Vector class

This commit is contained in:
wmayer
2017-06-22 21:52:53 +02:00
parent f2127c3712
commit e7c7c07cda
2 changed files with 29 additions and 2 deletions

View File

@@ -18,7 +18,14 @@
<DeveloperDocu>This is the Vector export class</DeveloperDocu>
<UserDocu>This class represents a 3D float vector</UserDocu>
</Documentation>
<Methode Name="add" Const="true">
<Methode Name="__reduce__" Const="true">
<Documentation>
<UserDocu>__reduce__()
Serialization of Vector objects
</UserDocu>
</Documentation>
</Methode>
<Methode Name="add" Const="true">
<Documentation>
<UserDocu>add(Vector)
returns the sum of this and another vector
@@ -32,7 +39,7 @@
</UserDocu>
</Documentation>
</Methode>
<Methode Name="negative" Const="true">
<Methode Name="negative" Const="true">
<Documentation>
<UserDocu>negative()
returns the negative (opposite) of this vector