M
Michael Sgier
Hello
there's no definition of min or max on Windows but on Linux i get the
error:
max' undeclared (first use this function). How should i declare "max"?
WATERX is declared:
#define WATERX 96
#define CLAMPX( x ) ( min( WATERX-1, max( 0, x ) ) )
then secondly how can i write the linux equivalent to:
memset( waterForce, 0, sizeof( float ) * nVertices );
THANKS and regards
Michael
there's no definition of min or max on Windows but on Linux i get the
error:
max' undeclared (first use this function). How should i declare "max"?
WATERX is declared:
#define WATERX 96
#define CLAMPX( x ) ( min( WATERX-1, max( 0, x ) ) )
then secondly how can i write the linux equivalent to:
memset( waterForce, 0, sizeof( float ) * nVertices );
THANKS and regards
Michael