Mercurial
Mercurial
>
hedgewars-draft
/ annotate
summary
|
shortlog
|
changelog
|
graph
|
tags
|
bookmarks
|
branches
|
files
|
changeset
|
file
|
latest
|
revisions
| annotate |
diff
|
comparison
|
raw
|
help
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
tools/rc/to_f64.rs
author
unC0Rr
Sun, 01 Dec 2024 21:08:03 +0100
branch
transitional_engine
changeset 16073
5c941f5deeec
parent 15981
5aed6c0b63e2
permissions
-rw-r--r--
* Introduce concept of invizible walls to constrain outline map generation * Rework some templates to work better with new parameters in rust landgen
Ignore whitespace changes -
Everywhere:
Within whitespace:
At end of lines:
15981
5aed6c0b63e2
Start PoC of pas2rust conversion routine
unc0rr
parents:
diff
changeset
1
pub fn to_f64<T: Into<f64>>(v: T) -> f64 {
5aed6c0b63e2
Start PoC of pas2rust conversion routine
unc0rr
parents:
diff
changeset
2
v.into()
5aed6c0b63e2
Start PoC of pas2rust conversion routine
unc0rr
parents:
diff
changeset
3
}
5aed6c0b63e2
Start PoC of pas2rust conversion routine
unc0rr
parents:
diff
changeset
4