Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jun 18th, 2018
63
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
pub fn cross2d<T>(a: &[T;2], b: &[T;2], c: &[T;2]) -> T where
for<'a> &'a T: RefNum<T>,
T: Num {
return (&b[0]-&a[0]) * (&c[1]-&a[1]) - (&b[1]-&a[1]) * (&c[0]-&a[0]);
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
python lab (23/04/2024)
Python | 1 min ago | 2.24 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 4 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 4 min ago | 0.38 KB
find bigest island - backtracking, recursion
C# | 39 min ago | 2.88 KB
Untitled
HTML | 1 hour ago | 3.75 KB
Untitled
HTML | 1 hour ago | 7.60 KB
Untitled
HTML | 1 hour ago | 0.94 KB
Kmp
C++ | 1 hour ago | 1.10 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!