We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1127a7d commit aab0961Copy full SHA for aab0961
source/main.cpp
@@ -0,0 +1,35 @@
1
+// classic API header files
2
+#include "c4d_plugin.h"
3
+#include "c4d_resource.h"
4
+
5
+#include "wsPointProjector.h"
6
+#include "main.h"
7
8
+::Bool PluginStart()
9
+{
10
+ RegisterProjectorObject();
11
+ ApplicationOutput("PointProjector 1.4.4"_s);
12
+ return true;
13
+}
14
15
+void PluginEnd()
16
17
+ // free resources
18
19
20
+::Bool PluginMessage(::Int32 id, void* data)
21
22
+ switch (id)
23
+ {
24
+ case C4DPL_INIT_SYS:
25
26
+ // load resources defined in the the optional "res" folder
27
+ if (!g_resource.Init())
28
+ return false;
29
30
31
+ }
32
33
34
35
0 commit comments