diff options
Diffstat (limited to 'src/misc/vec/vecFlt.h')
-rw-r--r-- | src/misc/vec/vecFlt.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/misc/vec/vecFlt.h b/src/misc/vec/vecFlt.h index 43e34217..9eb13962 100644 --- a/src/misc/vec/vecFlt.h +++ b/src/misc/vec/vecFlt.h @@ -336,6 +336,11 @@ static inline float Vec_FltEntry( Vec_Flt_t * p, int i ) assert( i >= 0 && i < p->nSize ); return p->pArray[i]; } +static inline float * Vec_FltEntryP( Vec_Flt_t * p, int i ) +{ + assert( i >= 0 && i < p->nSize ); + return p->pArray + i; +} /**Function************************************************************* |