Code reorganization to allow a clean export to plugin alternative for
[blender.git] / source / blender / yafray / intern / api.cpp
1 #include "export_File.h"
2
3 static yafrayFileRender_t byfile;
4
5 yafrayRender_t *YAFBLEND=&byfile;
6
7 extern "C" 
8 {
9
10 int YAF_exportScene() { return (int)YAFBLEND->exportScene(); }
11 //void YAF_displayImage() { YAFBLEND->displayImage(); }
12 void YAF_addDupliMtx(Object* obj) { YAFBLEND->addDupliMtx(obj); }
13 int YAF_objectKnownData(Object* obj) { return (int)YAFBLEND->objectKnownData(obj); }
14
15 }