void LightCycle::drawBike() { drawBottomDetails(); drawBottomBar(); drawEngineBlock(); drawFront(); drawBack(); drawInnerCircles(); drawLayeredCircles(); drawDetails(); }
void SceneBase::draw(bool debug_mode){ ofPushStyle(); float alpha_=255.0*_anim_in.getPortion()*(1-_anim_out.getPortion()); ofSetColor(255,alpha_); drawBack(); if(_img_back.bAllocated()){ _img_back.draw(0,0,ofGetWidth(),ofGetHeight()); } drawFront(); ofPopStyle(); if(debug_mode){ for(int i=0;i<_mbutton;++i) if(_arr_button[i].isEnable()) _arr_button[i].draw(); } }
void MQObject::drawFront( Vector eye, Vector dir, Vector rot, double x, double y, double size, Color col ) { GLfloat color[] = { col.r, col.g, col.b, 1 }; drawFront( eye, dir, rot, x, y, size, color ); }