hextri | hexagonal binning with triangular sub-binning | Architecture library
kandi X-RAY | hextri Summary
kandi X-RAY | hextri Summary
hexagonal binning with triangular sub-binning
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of hextri
hextri Key Features
hextri Examples and Code Snippets
Community Discussions
Trending Discussions on hextri
QUESTION
I'm trying to convert some C++ into C# for a personal learning project.
Below you will see my C++ and then my attempt at converting it into C# using Unity classes like Vector3.
My question:
How do I handle pointers to a struct inside a struct of the same type?
As far as I can tell it's not possible (HexTri m_nbAB, m_nbBC, m_nbCA;)
Do I need to use a class instead ?
.h file
...ANSWER
Answered 2018-Feb-24 at 09:49My take on this:
You are in the right way declaring 3 objects of HexTri type.
EDIT to address the point explained by pinkfloydx33 in a comment:
If you declared HexTri as a class instead of a struct, this C# this code makes a
and b
"point" to the same object:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install hextri
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page