I've released it on Battle.net as a mod... Like I said, you can't publish mod or map on Battle.net if they have dependencies to unpublished mod. For my future mod, I needed to publish it. Unless I didn't understood the rules of Battle.net.
So, from what I understand, you go in the dependencies...
Constant :
Pi
e
Point 0
Point I
Point J
Point K
Real :
Deg To Rad
Rad To Deg
Point :
Point Clamp
Point Cross Product
Point Dot Product
Point Lenght
Point Lenght Square
Point Normalize
Point Point Arithmetic ( + - * / )
Point Real Arithmetic ( + - * / )
Point Angle Axis Rotate...
Like said in previous "Library" thread, I made one.
It's not as big as I expected... but I continue to add stuff to it as I encounter situation that require what I qualify as "basic" function.
(For now, it's mostly vectorial stuff and some constant)
The library itself has no dependencies...
Normalize, Cross product, Dot Product, rotation, clamp/min/max...
Couple of constant like Pi, VectorI-J-K.
I also use Global To Local and Local To Global which is sometime useful to find a vector (point) relative to a specific object orientation instead of world orientation.
Since I'm a noob...
I was just wondering if someone put up a library (.mod) of useful stuff... Like some missing math and such.
I've checked quickly on battle.net and found nothing.
Since I'm building my own (Hate to work without a normalize function around), I was wondering if there isn't an already existing...
Yeah, I already did normalize, lenght, and a couple of other vector function with Point. I was just really surprised that a lot of the basic math stuff is absent from Galaxy.
The problem begin when I need something bigger that hold more than just 3 float. Like a rotation matrix or a quaternion.
You can't copy one array or struct to another one... Only way is to manually deep copy everything. (struct a = b // Bulk Copy not supported)
So, you can't really make a library of function... Everytime you would want call one, you would need to manually copy a boat load of variable to some...
Started the SC2 editor 2 days ago... My first project I want to try is a 3D space ship shooter.
First thing I notice, is the lack of real support out of the box for real vector calcul. Not surprising, SC2 doesn't care much about the third dimension. Same with orientation... It's define as a...