Answered Moving triangles?

  • Monday, July 23, 2012 3:29 PM
    Answerer
     
     

    MGP756 (Doesn't work online) I am trying to cover it to make it a solid cube. But if I try to do the same thing as the lines and, delete The tri-angle to put a new one in at a different position, then it doesn't work. it can't do it fast enough. can you move tri-angles? or is there a better way.

    Here is a pic of the cube spinning


    Zock77

All Replies

  • Monday, July 23, 2012 6:02 PM
    Moderator
     
     Answered

    Moving triangles (and lines) is hard in SmallBasic - I wrote an extension that helps (LitDev extension method LDShapes.MoveTriangle(shapeName,x1,y1,x2,y2,x3,y3) and LDSahpes.MoveLine(shapeName,x1,y1,x2,y2)).

    Of course extensions only work with installed version, not the Silverlight web version.

  • Monday, July 23, 2012 7:06 PM
    Answerer
     
     
    OK i'll try that.

    Zock77