mercator  0.4.0
A terrain generation library for the Worldforge system.
Mercator::Plant Struct Reference

This is the simple class for representing instances of vegetation. More...

#include <Plant.h>

Public Attributes

WFMath::Point< 2 > m_displacement
 Position of the vegetation relative to its grid point. More...
 
WFMath::Quaternion m_orientation
 Orientation of the vegetation. More...
 
float m_height
 Height of the vegetation. More...
 

Detailed Description

This is the simple class for representing instances of vegetation.

It is used in instances of class Forest to represent each instance of vegetation created when the Forest is populated.

Definition at line 19 of file Plant.h.

Member Data Documentation

◆ m_displacement

WFMath::Point<2> Mercator::Plant::m_displacement

Position of the vegetation relative to its grid point.

Definition at line 21 of file Plant.h.

Referenced by Mercator::Forest::populate().

◆ m_height

float Mercator::Plant::m_height

Height of the vegetation.

Definition at line 25 of file Plant.h.

◆ m_orientation

WFMath::Quaternion Mercator::Plant::m_orientation

Orientation of the vegetation.

Definition at line 23 of file Plant.h.

Referenced by Mercator::Forest::populate().


The documentation for this struct was generated from the following file: