-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c608dcd
commit 16ed64c
Showing
3 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# GlStateManager | ||
Allows you to access GlStateManager(please do some research before using this global. i have no idea what the methods/properties in this global do). `ModAPI.GlStateManager.(methods/properties)` | ||
|
||
Has the following properties: | ||
- `stateDepthMask : Boolean` | ||
- `stateCull : Boolean` | ||
- `stateFog : Boolean` | ||
- `stateGlobalBlend : Boolean` | ||
- `stateLighting : Boolean` | ||
|
||
It has the following methods: | ||
- `pushMatrix() : void` | ||
- `popMatrix() : void` | ||
- `recompileShaders() : void` | ||
- `scale({x: Float, y: Float, z: Float})` | ||
- `translate({x: Float, y: Float, z: Float})` | ||
- `color({colorRed: Float, colorGreen: Float, colorBlue: Float, colorAlpha: Float})` | ||
- `rotate({angle: Float, x: Float, y: Float, z: Float})` | ||
- `matrixMode({mode: Integer})` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters