|
resonance 1.0.1
|
One point of the ribbon. More...
#include <string.h>

Public Member Functions | |
| Point () | |
| Construct a point at the origin, coloured white. | |
Public Attributes | |
| Vector3 | mPos |
| Color | mColor |
| Vector3 | mCamPos |
| Vector2 | mScreen |
| Vector2 | mDir |
| Vector2 | mNormal |
| int | mClipped |
| int | mReserved4c |
One point of the ribbon.
The first two members serialise and dump, under the labels "v" and "c". Everything after them is frame scratch that DrawShowing() rewrites. The default constructor accordingly writes none of it.
The type is public because the three vector helpers of the Rnd::String translation unit receive the vector by address rather than through the class, at 0x004be168, 0x004be408, and 0x004be5a8. A friend declaration for those three fits the image equally well, and public asserts the weaker of the two.
| Rnd::String::Point::Point | ( | ) |
Construct a point at the origin, coloured white.
The constructor has no address of its own. Its body appears inlined at each of its three call sites, in SetNumPoints() and twice inside the vector reader at 0x004be5a8.
| Vector3 Rnd::String::Point::mPos |
Position in the object's own space. +0x00
| Color Rnd::String::Point::mColor |
Colour of both mesh vertices this point governs. +0x10
| Vector3 Rnd::String::Point::mCamPos |
Camera-space position, rewritten by DrawShowing(). +0x20
| Vector2 Rnd::String::Point::mScreen |
Projected position, rewritten by DrawShowing(). +0x30
| Vector2 Rnd::String::Point::mDir |
Unit screen direction towards the next point. +0x38
| Vector2 Rnd::String::Point::mNormal |
Perpendicular of mDir, (-mDir.y, mDir.x). +0x40
| int Rnd::String::Point::mClipped |
Set while the point sits behind the near plane. +0x48
| int Rnd::String::Point::mReserved4c |
No recovered routine reads or writes it. +0x4c