[warps] Be consistent, include Row and Beat.
This commit is contained in:
@@ -929,6 +929,12 @@ public:
|
|||||||
* @return true if the row is inside a warp, false otherwise.
|
* @return true if the row is inside a warp, false otherwise.
|
||||||
*/
|
*/
|
||||||
bool IsWarpAtRow( int iRow ) const;
|
bool IsWarpAtRow( int iRow ) const;
|
||||||
|
/**
|
||||||
|
* @brief Checks if the beat is inside a warp.
|
||||||
|
* @param fBeat the beat to focus on.
|
||||||
|
* @return true if the row is inside a warp, false otherwise.
|
||||||
|
*/
|
||||||
|
bool IsWarpAtBeat( float fBeat ) const { return IsWarpAtRow( BeatToNoteRow( fBeat ) ); }
|
||||||
/**
|
/**
|
||||||
* @brief Add the WarpSegment to the TimingData.
|
* @brief Add the WarpSegment to the TimingData.
|
||||||
* @param seg the new WarpSegment.
|
* @param seg the new WarpSegment.
|
||||||
|
|||||||
Reference in New Issue
Block a user