Will Microsoft sue me if.............

Started by
24 comments, last by Shannon Barber 19 years, 3 months ago
My math library somewhat resembles D3DXMath? You see I have a giant namespace and inside of are classes(P3DXMATRIX, P3DXVECTOR3, and P3DXQUATERNION) and as you could see their names are similar to those of D3DXMath. I suppose the similarity stops there since D3DXMath doesn't use a namespace and I have some functions that D3DXMath doesn't have...(ie: friend ostream& P3DXVECTOR3::operator<<(std::ostream& o, P3DXVECTOR3 CONST& p_vParam) ).
---http://www.michaelbolton.comI constantly dream about Michael Bolton.
Advertisement
Did you copy any code from them?

If not, then no.

If yes, then maybe if they care about you.
If there is no correlation, why don't you just rename your stuff and not worry about it?
Don't be afraid to be yourself. Nobody else ever will be.
Quote:Original post by C-Junkie
Did you copy any code from them?

If not, then no.

If yes, then maybe if they care about you.


Why would I copy code from them? Then it wouldn't really be my math library. It would just be a clone and I wouldn't learn anything.

btw,
P3DX = Pragmatist or Pragmatic[still deciding] X
---http://www.michaelbolton.comI constantly dream about Michael Bolton.
Quote:Original post by Khaosifix
Quote:Original post by C-Junkie
Did you copy any code from them?

If not, then no.

If yes, then maybe if they care about you.


Why would I copy code from them? Then it wouldn't really be my math library. It would just be a clone and I wouldn't learn anything.

btw,
P3DX = Pragmatist or Pragmatic[still deciding] X


Even if you had access to their code, I doubt you could copy all of it, seeing how it is tightly integrated, and super optimized. Directx is the one side of MS where there is no .NET style safety. Built for speed. Period.
All-caps typenames suck...
Quote:Original post by robinei
All-caps typenames suck...


ok?
---http://www.michaelbolton.comI constantly dream about Michael Bolton.
You can do it. You can't copyright a datatype name.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                                                          
Looking for video game music? Check out some of my samples at http://www.youtube.c...ser/cminortunes            
                                                          
I'm currently looking to create music for a project, if you are interested e-mail me at cminortunes@gmail.com    
                                                          
Please only message me for hobby projects, I am not looking to create music for anything serious.
Quote:Original post by Khaosifix
btw,
P3DX = Pragmatist or Pragmatic[still deciding] X


my £0.02 - Pragmatic,
Quote:Original post by Khaosifix
Quote:Original post by C-Junkie
Did you copy any code from them?

If not, then no.

If yes, then maybe if they care about you.


Why would I copy code from them? Then it wouldn't really be my math library. It would just be a clone and I wouldn't learn anything.

btw,
P3DX = Pragmatist or Pragmatic[still deciding] X


IMHO, it's more readable not to prefix names in this way. Especially when you can set up your namespace hierarchy as you wish to indicate ownership, for example you could do

namespace Pragmatic{  namespace Maths  {    public class Vector3    {    }    public class Matrix    {    }    // etc.    }}


Then the prefix is implied by the namespace naming, but the actual classes have simple easily understandable names.

On the point of capitalisation, generally usgin all caps makes things harder to read, for classes pascal case rules are usually applied. But, if you prefer all caps then it makes sense to use all caps.

This topic is closed to new replies.

Advertisement