From 881b2ec46f0519cbab41ba51245b3de949fdbee9 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Thu, 8 Aug 2013 18:23:00 -0700 Subject: Integrated buffering and sizing. --- src/misc/vec/vecFlt.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/misc/vec/vecFlt.h') 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************************************************************* -- cgit v1.2.3