1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

gg: document pub functions in text_rendering and m4/vector (#13961)

This commit is contained in:
Larpon
2022-04-06 18:34:02 +02:00
committed by GitHub
parent c5d8d27b90
commit 56e6fd01c5
2 changed files with 10 additions and 4 deletions

View File

@@ -22,6 +22,7 @@ pub mut:
* Utility
*
*********************************************************************/
// str returns a `string` representation of `Vec4`.
pub fn (x Vec4) str() string {
return '|${x.e[0]:-6.3},${x.e[1]:-6.3},${x.e[2]:-6.3},${x.e[3]:-6.3}|'
}