public Wing(string wingTexture = "Butterfly/swallowtail256.png") { te = new TextureElement2(wingTexture); te.Scale(scale); te.Move(new Vector3(-1f * 0.2f, 0f, 0f)); //offset = new Vector3(0.25f, 0f, 0f); }
protected override void init() { GL.ClearColor(0.0f, 0.0f, 0.0f, 0.0f); wood = new TextureElement2("wood4_rotate.png"); wood.Scale(1f); wood.RotateShape(new Vector3(1f, 0f, 0f), textureRotation); wood.Move(0f, -1f, -2f); SetupDepthAndCull(); Textures.EnableTextures(); g_fzNear = 0.5f; g_fzFar = 10f; reshape(); }