Click here to show toolbars of the Web Online Help System: show toolbars |
此函数可用于检查矩阵栈是否为空(返回 true)或非空(返回 false)。
matrix_stack_is_empty();
Boolean(布尔值)
if !matrix_stack_is_empty()
{
matrix_stack_clear();
}
上面的代码检查矩阵栈以查看它是否为空,如果不是,则清除它。