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

Add simple Point3D type, and homogenous transform method. #84

Closed
wants to merge 1 commit into from

Conversation

@glennw
Copy link
Member

glennw commented Jun 11, 2015

No description provided.

@glennw
Copy link
Member Author

glennw commented Jun 11, 2015

}

impl<T: Zero> Point3D<T> {
pub fn zero() -> Point3D<T> {

This comment has been minimized.

@pcwalton

pcwalton Jun 11, 2015

Contributor

#[inline] is wanted, probably

}

impl<T> Point3D<T> {
pub fn new(x: T, y: T, z: T) -> Point3D<T> {

This comment has been minimized.

@pcwalton

pcwalton Jun 11, 2015

Contributor

Ditto. Although I guess it doesn't much matter, since this is a generic.

@glennw glennw closed this Jun 17, 2015
@glennw glennw deleted the glennw:point3d branch Jun 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.