+ comments to the SM.Base
+ Length, Normalize methods for CVectors
This commit is contained in:
parent
5d4b360b05
commit
9b917ac181
18 changed files with 248 additions and 33 deletions
|
|
@ -182,6 +182,9 @@ namespace SM.Base
|
|||
if (!CursorVisible) CursorVisible = true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Create a bitmap from the framebuffer.
|
||||
/// </summary>
|
||||
public Bitmap TakeScreenshot(Framebuffer framebuffer, ReadBufferMode readBuffer, int x, int y, int width, int height)
|
||||
{
|
||||
GL.GetInteger(GetPName.FramebufferBinding, out int prevFBId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue