/simpletypesystem/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/simpletypesystem/trunk

« back to all changes in this revision

Viewing changes to src/vec.h

  • Committer: Gustav Hartvigsson
  • Date: 2015-04-09 18:45:12 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20150409184512-fn8m3f26mzsqdy4n
* Started to structuce the dectumentation a little better.
* Added Callback.[c,h] which will contain the methods to add callbacks to SObjects.
  This is still a work it pregross.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
#include "defs.h"
8
8
 
9
9
/** @file
10
 
 * Contains the definitions of Vectors.
 
10
 * @defgroup Vectors Vectors
 
11
 * @addtogroup Vectors
 
12
 * @{
 
13
 * Vectors are multi value structures that can be used when doing some types of
 
14
 * maths.
11
15
 */
12
16
 
13
17
BEGIN_DECLS
14
18
 
15
 
/** @brief
 
19
/**
 
20
 * @defgroup Vec3 Vec3
 
21
 * @addtogroup Vec3
 
22
 * @{
 
23
 * @brief
16
24
 * A Vector of three standard int values.
17
25
 *
18
26
 * A Vec3 is considerer a primitive type and as such has no ref/unref memory
34
42
 */
35
43
Vec3 * vec3_new (int a, int b, int c);
36
44
 
37
 
/** @brief
 
45
/** @} */
 
46
 
 
47
/**
 
48
 * @defgroup Vec3_16 Vec3_16
 
49
 * @addtogroup Vec3_16
 
50
 * @{
 
51
 * @brief
38
52
 * A Vector of three 16 bit int values.
39
53
 *
40
54
 * @sa vec3_16_new
46
60
  int16_t c;
47
61
} Vec3_16;
48
62
 
49
 
/** @brief
 
63
/**
 
64
 * @brief
50
65
 * allocates and initialises a Vec3_16 pointer.
51
66
 * 
52
67
 * @sa Vec3_16
53
68
 */
54
69
Vec3_16 * vec3_16_new (int16_t a, int16_t b, int16_t c);
55
70
 
 
71
/** @} @} */
 
72
 
56
73
END_DECLS
57
74
 
58
75
#endif /* __H_VEC__ */