ソースを参照

Amend comment to explain what LoadCodepoints is doing.

As a beginner, it was not clear to me what the purpose of the LoadCodepoints function is. I am trying to help past me.
pull/4787/head
Jay Rhoden 1ヶ月前
committed by GitHub
コミット
a5ea679319
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: B5690EEEBB952194
1個のファイルの変更3行の追加2行の削除
  1. +3
    -2
      examples/text/text_codepoints_loading.c

+ 3
- 2
examples/text/text_codepoints_loading.c ファイルの表示

@ -38,7 +38,8 @@ int main(void)
InitWindow(screenWidth, screenHeight, "raylib [text] example - codepoints loading");
// Get codepoints from text
// Convert each utf-8 character into its
// corresponding codepoint in the font file.
int codepointCount = 0;
int *codepoints = LoadCodepoints(text, &codepointCount);
@ -155,4 +156,4 @@ static int *CodepointRemoveDuplicates(int *codepoints, int codepointCount, int *
*codepointsResultCount = codepointsNoDupsCount;
return codepointsNoDups;
}
}

読み込み中…
キャンセル
保存