forums.vrmedia.it
Welcome, Guest. Please login or register.
September 05, 2010, 02:37:03 AM

Login with username, password and session length
Search:     Advanced search
SMF - Just Installed
1412 Posts in 449 Topics by 202 Members
Latest Member: nicolesmall
* Home Help Search Login Register
+  forums.vrmedia.it
|-+  General Category
| |-+  BUGs reporting
| | |-+  Preprocessor in S3D files doesn't macros with parameters?
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Preprocessor in S3D files doesn't macros with parameters?  (Read 200 times)
torsten
Hero Member
*****
Offline Offline

Posts: 139


« on: June 04, 2010, 02:10:21 PM »

Hi,

I try to use the preprocessor of S3D compiler to do some calculation (linear interpolation).

Code:
#define LERP(MIN,MAX,T) ((MAX)-(MIN) * (T) + (MIN))

This doesn't work, I get a lot or compiler errors. Are parameters not supported?

Thanks,

Torsten
Logged
Support@VRMedia
Administrator
Hero Member
*****
Offline Offline

Posts: 181


Email
« Reply #1 on: June 14, 2010, 07:49:12 AM »

Dear Torsten,

sorry, but definition of functions is not supported in XVR.

F.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!