diff options
author | Martin Poirier <theeth@yahoo.com> | 2008-06-09 21:16:20 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2008-06-09 21:16:20 +0400 |
commit | ac0a91920af0c9de9f6dfbbf493ecb9e2509c15e (patch) | |
tree | 076b67eff10128d117a5580fe0cc7ae99758bb33 /source/blender/include/BSE_view.h | |
parent | 83af2c1757d7ce76842dd13d92395d4bf5f0c410 (diff) |
Revision 14894 merged from apricot
----------------------------------
Arith:
- axis angle to quat conversion function
- short to float / float to short normals conversion function (eventually, we could go over the go and replace copy/pasted code everywhere)
- ray triangle intersection (to complement the line triangle intersection function)
View:
- viewray / viewline (get near plane point under mouse and ray normal/far point)
Particles:
- extract viewline from brush_add function
Diffstat (limited to 'source/blender/include/BSE_view.h')
-rw-r--r-- | source/blender/include/BSE_view.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/include/BSE_view.h b/source/blender/include/BSE_view.h index 4b334fdd959..f7afce958f5 100644 --- a/source/blender/include/BSE_view.h +++ b/source/blender/include/BSE_view.h @@ -66,6 +66,8 @@ void project_int(float *vec, int *adr); void project_int_noclip(float *vec, int *adr); void project_float(float *vec, float *adr); void project_float_noclip(float *vec, float *adr); +void viewray(short mval[2], float ray_start[3], float ray_normal[3]); +void viewline(short mval[2], float ray_start[3], float ray_end[3]); int boundbox_clip(float obmat[][4], struct BoundBox *bb); void fdrawline(float x1, float y1, float x2, float y2); |