~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to source/blender/render/intern/include/zbuf.h

  • Committer: Package Import Robot
  • Author(s): Matteo F. Vescovi
  • Date: 2012-07-23 08:54:18 UTC
  • mfrom: (14.2.16 sid)
  • mto: (14.2.19 sid)
  • mto: This revision was merged to the branch mainline in revision 42.
  • Revision ID: package-import@ubuntu.com-20120723085418-9foz30v6afaf5ffs
Tags: 2.63a-2
* debian/: Cycles support added (Closes: #658075)
  For now, this top feature has been enabled only
  on [any-amd64 any-i386] architectures because
  of OpenImageIO failing on all others
* debian/: scripts installation path changed
  from /usr/lib to /usr/share:
  + debian/patches/: patchset re-worked for path changing
  + debian/control: "Breaks" field added on yafaray-exporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $Id: zbuf.h 27655 2010-03-22 09:30:00Z campbellbarton $
3
 
 *
4
2
 * ***** BEGIN GPL LICENSE BLOCK *****
5
3
 *
6
4
 * This program is free software; you can redistribute it and/or
27
25
 * ***** END GPL/BL DUAL LICENSE BLOCK *****
28
26
 */
29
27
 
30
 
#ifndef ZBUF_H
31
 
#define ZBUF_H
 
28
/** \file blender/render/intern/include/zbuf.h
 
29
 *  \ingroup render
 
30
 */
 
31
 
 
32
 
 
33
#ifndef __ZBUF_H__
 
34
#define __ZBUF_H__
32
35
 
33
36
struct RenderPart;
34
37
struct RenderLayer;
46
49
 * Converts a world coordinate into a homogenous coordinate in view
47
50
 * coordinates. 
48
51
 */
49
 
void projectvert(float *v1, float winmat[][4], float *adr);
50
 
void projectverto(float *v1, float winmat[][4], float *adr);
51
 
int testclip(float *v); 
 
52
void projectvert(const float v1[3], float winmat[][4], float adr[4]);
 
53
void projectverto(const float v1[3], float winmat[][4], float adr[4]);
 
54
int testclip(const float v[3]);
52
55
 
53
56
void zbuffer_shadow(struct Render *re, float winmat[][4], struct LampRen *lar, int *rectz, int size, float jitx, float jity);
54
57
void zbuffer_abuf_shadow(struct Render *re, struct LampRen *lar, float winmat[][4], struct APixstr *APixbuf, struct APixstrand *apixbuf, struct ListBase *apsmbase, int size, int samples, float (*jit)[2]);
132
135
 
133
136
/* exported to shadeinput.c */
134
137
void zbuf_make_winmat(Render *re, float winmat[][4]);
135
 
void zbuf_render_project(float winmat[][4], float *co, float *ho);
 
138
void zbuf_render_project(float winmat[][4], const float co[3], float ho[4]);
136
139
 
137
140
#endif
138
141