resonance 1.0.1
Loading...
Searching...
No Matches
durgemcurve.h
Go to the documentation of this file.
1#pragma once
2
3struct Color;
4struct Plane;
5struct Vector3;
6namespace Rnd {
7class Mat;
8class String;
9class View;
10} // namespace Rnd
11
23public:
29 DurGemCurve() : mString(nullptr) {
30 }
31
39
55 void Init(Rnd::View *pView,
56 int nLane,
57 int nRow,
58 const Vector3 *pPoints,
59 const Color &color,
60 Rnd::Mat *pMat,
61 float flWidth);
62
72 int Show();
73
82 void Hide();
83
96 bool FindCrossing(const Plane &plane, Vector3 *pOut);
97
98 int mLane;
99 int mRow;
101};
DurGemCurve()
Construct an empty record with no ribbon.
Definition durgemcurve.h:29
int mLane
Definition durgemcurve.h:98
void Hide()
Hide the ribbon.
bool FindCrossing(const Plane &plane, Vector3 *pOut)
Find where the ribbon crosses plane.
void Init(Rnd::View *pView, int nLane, int nRow, const Vector3 *pPoints, const Color &color, Rnd::Mat *pMat, float flWidth)
Create the ribbon through the set points of pPoints and add it to pView hidden.
int Show()
Show the ribbon.
~DurGemCurve()
Delete the ribbon.
Rnd::String * mString
Definition durgemcurve.h:100
int mRow
Definition durgemcurve.h:99
Surface description a Rnd::Mesh draws with.
Definition mat.h:36
Screen-aligned ribbon drawn through a list of world-space points.
Definition string.h:58
Root of a loadable scene.
Definition view.h:47
The rendering engine.
Definition animhelper.h:3
Linear colour with four float components.
Definition color.h:10
Plane equation, padded to a PlayStation 2 quadword.
Definition plane.h:14
Three-component vector, padded to a PlayStation 2 quadword.
Definition vector3.h:12