| CARVIEW |
Select Language
HTTP/2 200
date: Wed, 31 Dec 2025 03:10:21 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/vlang/v.git
etag: W/"13c4f534cfaf5cf3746fcec72a59b337"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com github.githubassets.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com marketplace-screenshots.githubusercontent.com/ copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com github.githubassets.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=XfiexPMMdo1wuN%2Bxq7keg2rz24VsncIlCN5%2FD6gVkVF48dB1HBUklR9v%2BDtkD%2FIVH1Cl3dNl3ZZJ4gbKAj8hZfd8GVZ5EvLFwtzkd3SbOvgAd88vLPtho8BXysZ7QZYkBtX2Utyrp1gGzXUK2oAjSHZ5ossBi5MBtsptk%2F2zIA80LiuLs8DgqXSR1oqBEpajuvhkC%2BHFZQR%2Fe64IUEUd7eBesdVEWeL4DMiGs2BdoJDABIgv%2Bmz3vjW%2F3kaWhEswT6Y87JUp0VEkDICrGxNUSg%3D%3D--vK4c3M3iEK%2BqaCSh--QEFukGN8rWRfKv7d6mBLLQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1285022550.1767150620; Path=/; Domain=github.com; Expires=Thu, 31 Dec 2026 03:10:20 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 31 Dec 2026 03:10:20 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D0CC:CC6B7:1355B58:15F03DF:6954941C
examples: use math.vec in path_tracing.v and in vyper.v · vlang/v@caf7d41 · GitHub
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit caf7d41
File tree
Expand file treeCollapse file tree
3 files changed
+75
-116
lines changedOpen diff view settings
Filter options
- examples
- term.ui
- vlib/math/vec
Expand file treeCollapse file tree
3 files changed
+75
-116
lines changedOpen diff view settings
Collapse file
+41-75Lines changed: 41 additions & 75 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
| 38 | + | |
74 | 39 | | |
75 | 40 | | |
76 | 41 | | |
| |||
211 | 176 | | |
212 | 177 | | |
213 | 178 | | |
214 | | - | |
| 179 | + | |
215 | 180 | | |
216 | 181 | | |
217 | 182 | | |
218 | 183 | | |
219 | 184 | | |
220 | 185 | | |
221 | | - | |
| 186 | + | |
222 | 187 | | |
223 | 188 | | |
224 | 189 | | |
| |||
232 | 197 | | |
233 | 198 | | |
234 | 199 | | |
235 | | - | |
236 | | - | |
| 200 | + | |
| 201 | + | |
237 | 202 | | |
238 | 203 | | |
239 | 204 | | |
240 | 205 | | |
241 | 206 | | |
242 | | - | |
243 | | - | |
| 207 | + | |
| 208 | + | |
244 | 209 | | |
245 | 210 | | |
246 | 211 | | |
247 | 212 | | |
248 | 213 | | |
249 | 214 | | |
250 | | - | |
251 | | - | |
| 215 | + | |
| 216 | + | |
252 | 217 | | |
253 | 218 | | |
254 | 219 | | |
| |||
261 | 226 | | |
262 | 227 | | |
263 | 228 | | |
264 | | - | |
| 229 | + | |
265 | 230 | | |
266 | 231 | | |
267 | 232 | | |
| |||
276 | 241 | | |
277 | 242 | | |
278 | 243 | | |
279 | | - | |
| 244 | + | |
280 | 245 | | |
281 | 246 | | |
282 | 247 | | |
283 | 248 | | |
284 | 249 | | |
285 | 250 | | |
286 | | - | |
| 251 | + | |
287 | 252 | | |
288 | 253 | | |
289 | 254 | | |
290 | 255 | | |
291 | 256 | | |
292 | 257 | | |
293 | | - | |
| 258 | + | |
294 | 259 | | |
295 | 260 | | |
296 | 261 | | |
297 | 262 | | |
298 | 263 | | |
299 | 264 | | |
300 | 265 | | |
301 | | - | |
302 | | - | |
| 266 | + | |
| 267 | + | |
303 | 268 | | |
304 | 269 | | |
305 | 270 | | |
306 | 271 | | |
307 | 272 | | |
308 | | - | |
309 | | - | |
| 273 | + | |
| 274 | + | |
310 | 275 | | |
311 | 276 | | |
312 | 277 | | |
313 | 278 | | |
314 | 279 | | |
315 | | - | |
316 | | - | |
| 280 | + | |
| 281 | + | |
317 | 282 | | |
318 | 283 | | |
319 | 284 | | |
| |||
406 | 371 | | |
407 | 372 | | |
408 | 373 | | |
409 | | - | |
410 | | - | |
| 374 | + | |
| 375 | + | |
411 | 376 | | |
412 | | - | |
| 377 | + | |
413 | 378 | | |
414 | 379 | | |
415 | 380 | | |
| |||
426 | 391 | | |
427 | 392 | | |
428 | 393 | | |
429 | | - | |
| 394 | + | |
430 | 395 | | |
431 | 396 | | |
432 | 397 | | |
| |||
445 | 410 | | |
446 | 411 | | |
447 | 412 | | |
448 | | - | |
| 413 | + | |
449 | 414 | | |
450 | 415 | | |
451 | 416 | | |
452 | 417 | | |
453 | | - | |
| 418 | + | |
454 | 419 | | |
455 | 420 | | |
456 | | - | |
457 | | - | |
| 421 | + | |
| 422 | + | |
458 | 423 | | |
459 | 424 | | |
460 | 425 | | |
461 | 426 | | |
462 | | - | |
| 427 | + | |
| 428 | + | |
463 | 429 | | |
464 | 430 | | |
465 | 431 | | |
466 | | - | |
| 432 | + | |
467 | 433 | | |
468 | 434 | | |
469 | 435 | | |
| |||
478 | 444 | | |
479 | 445 | | |
480 | 446 | | |
481 | | - | |
| 447 | + | |
482 | 448 | | |
483 | 449 | | |
484 | 450 | | |
| |||
495 | 461 | | |
496 | 462 | | |
497 | 463 | | |
498 | | - | |
| 464 | + | |
499 | 465 | | |
500 | | - | |
| 466 | + | |
501 | 467 | | |
502 | 468 | | |
503 | | - | |
504 | | - | |
| 469 | + | |
| 470 | + | |
505 | 471 | | |
506 | 472 | | |
507 | 473 | | |
| |||
517 | 483 | | |
518 | 484 | | |
519 | 485 | | |
520 | | - | |
| 486 | + | |
521 | 487 | | |
522 | 488 | | |
523 | 489 | | |
| |||
544 | 510 | | |
545 | 511 | | |
546 | 512 | | |
547 | | - | |
548 | | - | |
| 513 | + | |
| 514 | + | |
549 | 515 | | |
550 | | - | |
| 516 | + | |
551 | 517 | | |
552 | | - | |
| 518 | + | |
553 | 519 | | |
554 | 520 | | |
555 | 521 | | |
| |||
Collapse file
+16-31Lines changed: 16 additions & 31 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 33 | + | |
37 | 34 | | |
38 | 35 | | |
39 | 36 | | |
| |||
58 | 55 | | |
59 | 56 | | |
60 | 57 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 58 | + | |
65 | 59 | | |
66 | 60 | | |
67 | 61 | | |
| |||
72 | 66 | | |
73 | 67 | | |
74 | 68 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 69 | + | |
79 | 70 | | |
80 | 71 | | |
81 | 72 | | |
| |||
85 | 76 | | |
86 | 77 | | |
87 | 78 | | |
88 | | - | |
| 79 | + | |
89 | 80 | | |
90 | 81 | | |
91 | | - | |
92 | | - | |
| 82 | + | |
| 83 | + | |
93 | 84 | | |
94 | 85 | | |
95 | | - | |
96 | | - | |
| 86 | + | |
| 87 | + | |
97 | 88 | | |
98 | 89 | | |
99 | | - | |
100 | | - | |
| 90 | + | |
| 91 | + | |
101 | 92 | | |
102 | 93 | | |
103 | | - | |
104 | | - | |
| 94 | + | |
| 95 | + | |
105 | 96 | | |
106 | 97 | | |
107 | 98 | | |
108 | | - | |
| 99 | + | |
109 | 100 | | |
110 | 101 | | |
111 | 102 | | |
| |||
239 | 230 | | |
240 | 231 | | |
241 | 232 | | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
| 233 | + | |
246 | 234 | | |
247 | 235 | | |
248 | 236 | | |
| |||
441 | 429 | | |
442 | 430 | | |
443 | 431 | | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
| 432 | + | |
448 | 433 | | |
449 | 434 | | |
450 | 435 | | |
| |||
You can’t perform that action at this time.
0 commit comments