diff options
Diffstat (limited to 'src/misc/vec')
-rw-r--r-- | src/misc/vec/vecFlt.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/misc/vec/vecFlt.h b/src/misc/vec/vecFlt.h index d5184268..57bfe3c1 100644 --- a/src/misc/vec/vecFlt.h +++ b/src/misc/vec/vecFlt.h @@ -106,6 +106,14 @@ static inline Vec_Flt_t * Vec_FltStart( int nSize ) memset( p->pArray, 0, sizeof(float) * nSize ); return p; } +static inline Vec_Flt_t * Vec_FltStartFull( int nSize ) +{ + Vec_Flt_t * p; + p = Vec_FltAlloc( nSize ); + p->nSize = nSize; + memset( p->pArray, 0xFF, sizeof(float) * nSize ); + return p; +} /**Function************************************************************* |