forums.vrmedia.it
Welcome,
Guest
. Please
login
or
register
.
September 05, 2010, 02:37:03 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
SMF - Just Installed
1412
Posts in
449
Topics by
202
Members
Latest Member:
nicolesmall
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
]
Author
Topic: Preprocessor in S3D files doesn't macros with parameters? (Read 200 times)
torsten
Hero Member
Offline
Posts: 139
Preprocessor in S3D files doesn't macros with parameters?
«
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
Posts: 181
Re: Preprocessor in S3D files doesn't macros with parameters?
«
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
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Announcements
=> Feature Request
=> BUGs reporting
-----------------------------
Programming with XVR
-----------------------------
=> General XVR HowTo...
=> Shaders Programming
=> Real-Time Physics
=> Haptics
=> Projects Discussion
=> Showcase
Loading...