• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Is there a way to simplify my calculation?

Status
Not open for further replies.

Deleted member 219079

D

Deleted member 219079

How could I simplify this calculation?
attachment.php
 

Attachments

  • qd.png
    qd.png
    3.8 KB · Views: 124

Deleted member 219079

D

Deleted member 219079

Having pythagors on 3 numbers instead of 2, normally it's like n = SquareRoot(Pow(x,2)+Pow(y,2)), but I would have use for 3rd number, z.
 
Last edited by a moderator:

Deleted member 219079

D

Deleted member 219079

Yes I do, that was only an example
 

Deleted member 219079

D

Deleted member 219079

I hope it works like that, thanks :)

By default, pythagors would be like:
Catetus^2 + Catetus^2 = Hypotenuse

Edit:
Um, is it certain to work with that? Just wondering..
 

Deleted member 219079

D

Deleted member 219079

Yes, I'm using those. I'll test SquareRoot( dx * dx + dy * dy + dz * dz) in my system :)

Solved, thanks
 
Status
Not open for further replies.
Top