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

Model docs & fixes(remake) #3768

Merged
merged 3 commits into from Apr 28, 2015
Merged

Model docs & fixes(remake) #3768

merged 3 commits into from Apr 28, 2015

Conversation

Chaosus
Copy link
Contributor

@Chaosus Chaosus commented Apr 25, 2015

remake of #3738

@Chaosus
Copy link
Contributor Author

Chaosus commented Apr 27, 2015

@tomspilman Accept ?

@Chaosus Chaosus changed the title Model docs & fixes Model docs & fixes(remake) Apr 27, 2015
{

}

public Model(GraphicsDevice graphicsDevice, List<ModelBone> bones, List<ModelMesh> meshes)
internal Model(GraphicsDevice graphicsDevice, List<ModelBone> bones, List<ModelMesh> meshes)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is worth keeping this API public. There is really nothing that needs to be private or hidden here.

@KonajuGames ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In XNA there is no public constructor for Model. I really doubt that someone needs to construct it manually from parts. These constuctors in general used only by content pipeline.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am fully aware of how they are generally used and that it isn't public in XNA. There is zero harm in making this public anyway and allows someone to build a model from code which is reasonable in some cases.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, than I open it and adds docs..

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(after test) Yes this constructor works and you can really build model from code.

@Chaosus
Copy link
Contributor Author

Chaosus commented Apr 27, 2015

@tomspilman Accept ?

@Chaosus
Copy link
Contributor Author

Chaosus commented Apr 28, 2015

@tomspilman Recheck pls

@tomspilman
Copy link
Member

Ok... i'm good with this. Merging!

tomspilman added a commit that referenced this pull request Apr 28, 2015
@tomspilman tomspilman merged commit 9b9e4bf into MonoGame:develop Apr 28, 2015
@Chaosus Chaosus deleted the ModelBranch2 branch May 2, 2015 12:38
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

Successfully merging this pull request may close these issues.

None yet

3 participants