im trying to convert a c demo and im stuck. heres the code (just 1 line)
Code:
nozzleDampForce = - (nozzleVeloc % nozzleDir) * mass * nozzleDampCoef;
ive never seen a % in code before so i dont know what to do with it.
this is how the delphi code is looking so far
[pascal]LNozzleDampForce := -{(LNozzleVelocity % LNozzleDirection) *} Hovercraft.Mass * LNozzleDampCoef;[/pascal]
LNozzleVelocity, LNozzleDirection are Vectors (array[0..2] of Single) and Hovercraft.Mass, LNozzleDampForce and LNozzleDampCoef are singles.
any help is great as im pulling my hair out over this
Bookmarks