Vectors extensions

Home Forums Monkey 2 Code Library Vectors extensions

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Mark Sibly 3 days, 11 hours ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10330

    nerobot
    Participant

    Bring some const into our vectors to simplify code view.

    Before:

    Now:

    Extension code:

    #10501

    Mark Sibly
    Keymaster

    Just a quick note that Vec2, Vec3 etc have single component ctors too, eg: New Vec3f( .8 ) is the same as New Vec3f( .8,.8,.8 ).

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.