Blender V2.61 - r43446
Functions

BLI_uvproject.h File Reference

Go to the source code of this file.

Functions

struct UvCameraInfoproject_camera_info (struct Object *ob, float rotmat[4][4], float winx, float winy)
void project_from_camera (float target[2], float source[3], struct UvCameraInfo *uci)
void project_from_view (float target[2], float source[3], float persmat[4][4], float rotmat[4][4], float winx, float winy)
void project_from_view_ortho (float target[2], float source[3], float rotmat[4][4])
void project_camera_info_scale (struct UvCameraInfo *uci, float scale_x, float scale_y)

Detailed Description

Definition in file BLI_uvproject.h.


Function Documentation

struct UvCameraInfo* project_camera_info ( struct Object ob,
float  rotmat[4][4],
float  winx,
float  winy 
) [read]
void project_camera_info_scale ( struct UvCameraInfo uci,
float  scale_x,
float  scale_y 
)

Definition at line 197 of file uvproject.c.

References UvCameraInfo::xasp, and UvCameraInfo::yasp.

Referenced by uvprojectModifier_do().

void project_from_camera ( float  target[2],
float  source[3],
struct UvCameraInfo uci 
)
void project_from_view ( float  target[2],
float  source[3],
float  persmat[4][4],
float  rotmat[4][4],
float  winx,
float  winy 
)

Definition at line 96 of file uvproject.c.

References copy_v3_v3(), fabsf, mul_m4_v4(), and mul_v3_m4v3().

Referenced by uv_from_view_exec().

void project_from_view_ortho ( float  target[2],
float  source[3],
float  rotmat[4][4] 
)

Definition at line 185 of file uvproject.c.

References mul_v3_m4v3().

Referenced by uv_from_view_exec().