To apply colour to an object, use the method glColor() of GL2. Below given is the syntax for using glColor method. Syntax. gl.glColorXY(1f,0f,0f);. where,.
確定! 回上一頁