Re: [Plib-devel] Releasing PLIB 1.2 *soon*.
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2000-04-01 06:08:53
|
Christian Mayer wrote: > > Steve Baker wrote: > > > > I wanted to mention that I'd like to release PLIB 1.2 (a stable > > release) sometime soon. I have a couple of mods of my own to > > put in - if anyone else needs to commit anything or knows of > > any significant problems that need fixing - please let me know > > so that we can arrange to catch all of these prior to release. > > I'd like to add a bit of functionality to SG. I think I write it up in > no-time (but not compile it as my box is in major reordering at the > moment). Is it still possible that it makes it to 1.2? > > It'd be > > void sgProjectOnVector3 ( sgVec3 dst, sgVec3 src1, sgVec3 src3 > ); > void sgProjectOnNormalizedVector3 ( sgVec3 dst, sgVec3 src1, sgVec3 src3 > ); > > that projects one vector on the other and > > void sgProjectOnNormal3 ( sgVec3 dst, sgVec3 src1, sgVec3 src3 > ); > void sgProjectOnNormalizedNormal3 ( sgVec3 dst, sgVec3 src1, sgVec3 src3 > ); > > that maps the vector onto a plane. > > I can also supply the functions for 'sgd' and perhaps other dimensions > (if that makes sense...). If the names could be differenet if that makes > more sense... That sounds pretty non-contentious - I don't see a problem with popping that stuff into the SG lib. A not-normalized normal is a vector and a normalized vector is a normal - so I find the names a bit confusing. I'm not quite sure what you intend these to do but how about sgProjectVec3OntoPlane sgProjectNormal3OntoPlane etc. -- Steve Baker http://web2.airmail.net/sjbaker1 sjb...@ai... (home) http://www.woodsoup.org/~sbaker sj...@ht... (work) |