Original Post
I'm a bit confused by partial derivates and their use with vectors. I've taken college and university calculus and did very well, but I just don't understand how they're used with vectors or in games. For example, in GPU Gems 1, the first chapter talks about programming water. On page 9 the author gives some equation: P(x,y,t) = (x,y,H(x,y,t)). On the next line he says
The partial derivative in the x direction is then:
B(x,y) = (@x/@x , @y/@x, @/@x(H(x,y,t)))
I have **NO** idea what this means or how he even derived that. I've also seen similar things done with normal map derivations. What part of calculus is this? Can anyone recommend some books I can pick up on this section of calculus? Thanks!