(RGL) Include cgGLSetMatrixParameterfc
This commit is contained in:
parent
450b59262b
commit
c45c49c5c2
|
@ -453,6 +453,8 @@ inline int _RGLGetProgramProfileIndex( CGprofile profile )
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CGGL_API void cgGLSetMatrixParameterfc( CGparameter param, const float *matrix );
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -8413,3 +8413,9 @@ unsigned int _RGLGetTypeColCount( CGtype parameterType )
|
||||||
int typeIndex = parameterType - 1 - CG_TYPE_START_ENUM;
|
int typeIndex = parameterType - 1 - CG_TYPE_START_ENUM;
|
||||||
return _typesColCount[typeIndex];
|
return _typesColCount[typeIndex];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CGGL_API void cgGLSetMatrixParameterfc( CGparameter param, const float *matrix )
|
||||||
|
{
|
||||||
|
CgRuntimeParameter* ptr = _cgGetParamPtr( param );
|
||||||
|
ptr->settercIndex( ptr, matrix, CG_GETINDEX( param ) );
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue