Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
PagedGeometryConfig.h
Go to the documentation of this file.
1#ifndef PagedGeometryConfig_h__
2#define PagedGeometryConfig_h__
3
4/* Define the library version */
5#define PAGEDGEOMETRY_VERSION_MAJOR 1
6#define PAGEDGEOMETRY_VERSION_MINOR 3
7#define PAGEDGEOMETRY_VERSION_PATCH 0
8#define PAGEDGEOMETRY_VERSION "1.3.0"
9
10/* Define if we use ogre random */
11/* #undef PAGEDGEOMETRY_USE_OGRE_RANDOM */
12
13/* some helpful OIS macro */
14/* #undef OIS_USING_DIR */
15
16#include "Application.h"
17
18namespace Forests
19{
22 {
23 //RIGSOFRODS: DO NOT change numbers - serialized into TOBJ fileformat.
24
31
32 // RIGSOFRODS: Limits for checking.
35 };
36
38 {
39 if (src >= GRASSTECH_MIN && src <= GRASSTECH_MAX)
40 {
41 return src;
42 }
43 else
44 {
45 LOG("[RoR] Invalid grass param 'technique', falling back to default '1' (GRASSTECH_CROSSQUADS)");
47 }
48 }
49
54 {
55 // RIGSOFRODS: DO NOT change numbers - serialized into TOBJ fileformat.
56
63 };
64
65
66} // namespace Forests
67
68#endif //PagedGeometryConfig_h__
Central state/object manager and communications hub.
void LOG(const char *msg)
Legacy alias - formerly a macro.
GrassTechnique
A technique used to render grass.
@ GRASSTECH_QUAD
Grass constructed of randomly placed and rotated quads.
@ GRASSTECH_CROSSQUADS
Grass constructed of two quads forming a "X" cross shape.
@ GRASSTECH_SPRITE
Grass constructed of camera-facing billboard quads.
GrassTechnique ValidateGrassTech(GrassTechnique src)
FadeTechnique
A technique used to fade grass into the distance.
@ FADETECH_ALPHAGROW
Grass that fades in by slowly becoming opaque while it "grows" up out of the ground....
@ FADETECH_ALPHA
Grass that fades into the distance with transparency. Fairly effective in most cases.
@ FADETECH_GROW
Grass that fades in by "growing" up out of the ground. Very effective when grass fades in against the...