mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add spec links
This commit is contained in:
parent
f039827dcd
commit
233a769c67
61 changed files with 284 additions and 87 deletions
|
@ -39,14 +39,17 @@ impl WebGLShaderPrecisionFormat {
|
|||
}
|
||||
|
||||
impl<'a> WebGLShaderPrecisionFormatMethods for &'a WebGLShaderPrecisionFormat {
|
||||
// https://www.khronos.org/registry/webgl/specs/1.0/#5.12.1
|
||||
fn RangeMin(self) -> i32 {
|
||||
self.range_min
|
||||
}
|
||||
|
||||
// https://www.khronos.org/registry/webgl/specs/1.0/#5.12.1
|
||||
fn RangeMax(self) -> i32 {
|
||||
self.range_max
|
||||
}
|
||||
|
||||
// https://www.khronos.org/registry/webgl/specs/1.0/#5.12.1
|
||||
fn Precision(self) -> i32 {
|
||||
self.precision
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue