Skip to main content
GameDev.net gamedev.net
🔒 Locked

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

Started by Khaosifix Jan 16, 2005 at 7:19 PM 24 replies 3.8k views
Original Post
Khaosifix
Khaosifix
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.
C-Junkie
C-Junkie
Did you copy any code from them?

If not, then no.

If yes, then maybe if they care about you.
bit64
bit64
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.
Khaosifix
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
---http://www.michaelbolton.comI constantly dream about Michael Bolton.
Sagar_Indurkhya
Sagar_Indurkhya
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.
robinei
robinei
All-caps typenames suck...
Khaosifix
Khaosifix
Quote:
Original post by robinei
All-caps typenames suck...


ok?
---http://www.michaelbolton.comI constantly dream about Michael Bolton.
SumDude
SumDude
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 inte
moagstar
moagstar
Quote:
Original post by Khaosifix
btw,
P3DX = Pragmatist or Pragmatic[still deciding] X


my £0.02 - Pragmatic,
Keem
Keem
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.
leiavoia
leiavoia
Quote:
Original post by robinei
All-caps typenames suck...


*applause*

Could not agree more. They look like encrypted password strings if you ask me.
smr
smr
Quote:
Original post by leiavoia
All-caps typenames suck...


*boo*

load_bitmap_file
load_bitmap_file
Quote:
Original post by smr
Quote:
Original post by leiavoia
All-caps typenames suck...


*boo*


*boo*s the *boo*
smr
smr
Quote:
Original post by load_bitmap_file
Quote:
Original post by smr
Quote:
Original post by leiavoia
All-caps typenames suck...


*boo*


*boo*s the *boo*


lol

My *boo* was less about whether or not all-cap typenames are good, but rather was in response to the nature of leiavoia's comment. It was neither helpful or on topic. Essentially he was telling the OP that his way sucks, and he (robinei) has a better way (IHNSHO).
Onemind
Onemind
There's nothing that can keep you from using similar namespaces as DirectX (if your library or game had to be completely original, then Id could sue just about every FPS maker on the planet). The only thing copyrights protect is the actually product (i.e. DirectX), and derivatives of that product (i.e. DirectX 10).

BTW, I vote Pragmatic.
mattnewport
mattnewport
Quote:
Original post by smr
lol

My *boo* was less about whether or not all-cap typenames are good, but rather was in response to the nature of leiavoia's comment. It was neither helpful or on topic. Essentially he was telling the OP that his way sucks, and he (robinei) has a better way (IHNSHO).

Maybe, but they still suck :-)
Khaosifix
Khaosifix
.....Evidently we're split on whether or not all caps data types are bad or not.
---http://www.michaelbolton.comI constantly dream about Michael Bolton.
Neex
Neex
Quote:
Original post by Khaosifix
.....Evidently we're split on whether or not all caps data types are bad or not.

I like to think of it more as: some of us are right, the others haven't been enlightened. :)
Mercury
Mercury
All caps aer teh sux.
leiavoia
leiavoia
As i once said, "It's not a fight, it's a reasonable discussion... and i'm winning."

:-)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.