mirror of
https://github.com/lxsang/Diya-API.git
synced 2024-12-27 03:48:21 +01:00
19 lines
328 B
Smalltalk
19 lines
328 B
Smalltalk
|
Class {
|
||
|
#name : #Uniform4F,
|
||
|
#superclass : #OpenGLSLUniform,
|
||
|
#pools : [
|
||
|
'OpenGLConstants',
|
||
|
'OpenGLTypes'
|
||
|
],
|
||
|
#category : #'Diya-OpenGL'
|
||
|
}
|
||
|
|
||
|
{ #category : #accessing }
|
||
|
Uniform4F >> setUniformValue [
|
||
|
OpenGLSLUniform uniform4f: location
|
||
|
value: value first
|
||
|
value: (value at:2)
|
||
|
value: (value at:3)
|
||
|
value: value last
|
||
|
]
|