SCM Repository
[diderot] Diff of /trunk/src/lib/diderot.h
Diff of /trunk/src/lib/diderot.h
Parent Directory
|
Revision Log
|
Patch
11 |
#ifndef _DIDEROT_H_ |
#ifndef _DIDEROT_H_ |
12 |
#define _DIDEROT_H_ |
#define _DIDEROT_H_ |
13 |
|
|
14 |
|
#define STATIC_INLINE static inline |
15 |
|
|
16 |
#include <stdint.h> |
#include <stdint.h> |
17 |
#include <stdbool.h> |
#include <stdbool.h> |
18 |
|
|
71 |
extern Status_t Diderot_InputReal (const char *, Diderot_real_t *, bool); |
extern Status_t Diderot_InputReal (const char *, Diderot_real_t *, bool); |
72 |
extern Status_t Diderot_InputVec3 (const char *, Diderot_vec3_t *v); |
extern Status_t Diderot_InputVec3 (const char *, Diderot_vec3_t *v); |
73 |
|
|
74 |
|
/* inline vector arithmetic functions */ |
75 |
|
STATIC_INLINE void Diderot_ScaleV3 (Diderot_vec3_t dstV, Diderot_real_t s, Diderot_vec3_t v) |
76 |
|
{ |
77 |
|
|
78 |
|
} |
79 |
|
|
80 |
|
STATIC_INLINE void Diderot_CopyV3 (&pos, &(glob->pos)) |
81 |
|
{ |
82 |
|
} |
83 |
|
|
84 |
|
STATIC_INLINE void Diderot_AddV3 (&pos, &pos, &_t) |
85 |
|
{ |
86 |
|
} |
87 |
|
|
88 |
#endif /* !_DIDEROT_H_ */ |
#endif /* !_DIDEROT_H_ */ |
|
Legend:
Removed from v.439 |
|
changed lines |
|
Added in v.440 |
|
|