Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

point.h file issues #4

Closed
EmilyBlood opened this issue Nov 3, 2017 · 1 comment
Closed

point.h file issues #4

EmilyBlood opened this issue Nov 3, 2017 · 1 comment

Comments

@EmilyBlood
Copy link
Collaborator

I am thinking about:

  1. adding Point copyPoint(Point point) function (needed in tensor init function and maybe somewhere else)
  2. adding Point initPoint(int x, int y, int z) function (because file with only copyPoint function will be sad)
  3. rename x, y, z to something more adequate
@Kotwic4
Copy link
Owner

Kotwic4 commented Nov 4, 2017

if it is needed added it.

initPoint is nonsense becasue it can be int like:

Point a = { 1 ,2 ,3 };

But you can add funtion convertPointToIndex which will convert point to int.
Also convertIndexToPoint

if you have better names, rename :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants