Search:

Type: Posts; User: helloworld922

Search: Search took 0.08 seconds.

  1. Replies
    9
    Views
    3,226

    Re: Vector3 Class

    Just so long as you're aware of the implications between floats and doubles. For most graphics-related code the amount of precision difference between floats and doubles is insignificant, and doubles...
  2. Replies
    9
    Views
    3,226

    Re: Vector3 Class

    Darn, beat to the punch.

    Maybe this time I'll be first :D

    You can have an add and an addAssign method to provide two different interfaces for your class. This is somewhat similar to the...
  3. Replies
    9
    Views
    3,226

    Re: Vector3 Class

    A few helpful pointers:

    1. Unless you have a reason to specifically use floats, I would recommend you use doubles.
    2. Depending on what kind of math you're doing I would recommend extending or...
Results 1 to 3 of 3