wavelength 1.0.0
Loading...
Searching...
No Matches
rndline.h File Reference
#include <list>
#include <memory>
#include <vector>
#include "math/color.h"
#include "math/plane.h"
#include "math/vector2.h"
#include "math/vector3.h"
#include "os/binstream.h"
#include "os/prnstream.h"
#include "rnd/rndcollideable.h"
#include "rnd/rnddrawable.h"
#include "rnd/rndmat.h"
#include "rnd/rndmesh.h"
#include "rnd/rndtransformable.h"
Include dependency graph for rndline.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  RndLine
 Line through points, drawn as a ribbon of constant screen width that faces the camera. More...
class  RndLine::Point
 One point and what drawing derives from it. More...
struct  RndLine::PointVerts
 The mesh vertices of a point. More...

Functions

PrnStream & operator<< (PrnStream &stream, const RndLine::Point &point)
 Write a point's position and colour.
BinStream & operator<< (BinStream &stream, const RndLine::Point &point)
 Write a point's position and colour.
BinStream & operator>> (BinStream &stream, RndLine::Point &point)
 Read a point the point writer wrote.

Function Documentation

◆ operator<<() [1/2]

PrnStream & operator<< ( PrnStream & stream,
const RndLine::Point & point )

Write a point's position and colour.

Parameters
streamThe stream to write to.
pointThe point.
Returns
The stream.
Ghidra address:
NTSC-U/C: 0x0022b590
Ghidra address:
PAL: 0x00234300

◆ operator<<() [2/2]

BinStream & operator<< ( BinStream & stream,
const RndLine::Point & point )

Write a point's position and colour.

The binary expands the writer inline in the point vector writer at 0x00383608.

Parameters
streamThe stream to write to.
pointThe point.
Returns
The stream.

◆ operator>>()

BinStream & operator>> ( BinStream & stream,
RndLine::Point & point )

Read a point the point writer wrote.

The binary expands the reader inline in the point vector reader at 0x00383740.

Parameters
streamThe stream to read from.
pointReceives the point.
Returns
The stream.