我一直在为一个班级的项目工作。我和老师谈过,他说他无法告诉我为什么我的节目正在做它正在做的事情。旋转后立方体出现问题,再次缩放旋转。如果您缩放然后旋转立方体它没有问题运行。但是,如果旋转(超过5度提供更清晰的示例),则按任意数量缩放立方体,然后再次旋转立方体,使立方体的两侧混乱并开始显示不正确。任何帮助或建议,为什么会非常有帮助。先感谢您。部分任务是我不能使用Java3D,OpenGL或类似的3D项目。
I was unsure how to handle Posting multiple Class files so Here are the pastebin links.
My ControlPanel for input http://pastebin.com/DPCPXqXC
My GraphicPanel for drawing http://pastebin.com/RwzEGGGu
My GraphicsFrame for the panels http://pastebin.com/ma6Z4hyk
My Points class for 3d Points http://pastebin.com/6P7Vtg79
My MatrixOps class for matrix operations http://pastebin.com/QDmNnZFL
My CubeSides class for sides of cube http://pastebin.com/i4pvKHqw
My Cube3D class that links the sides http://pastebin.com/GVQTjiZ7