[warps] Be consistent, include Row and Beat.

This commit is contained in:
Jason Felds
2011-03-25 21:31:33 -04:00
parent 9af2e96204
commit 0692da91c6
+6
View File
@@ -929,6 +929,12 @@ public:
* @return true if the row is inside a warp, false otherwise.
*/
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.
* @param seg the new WarpSegment.