File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525
2626 # Initializes the CodeQL tools for scanning.
2727 - name : Initialize CodeQL
28- uses : github/codeql-action/init@v1
28+ uses : github/codeql-action/init@v2
2929 with :
3030 languages : ${{ matrix.language }}
3131
3232 - name : Perform CodeQL analysis
33- uses : github/codeql-action/analyze@v1
33+ uses : github/codeql-action/analyze@v2
Original file line number Diff line number Diff line change @@ -33,9 +33,6 @@ export default function (
3333 const validatedSize = isNaN ( pointSize ) || pointSize <= 0 ? 1.0 : pointSize ;
3434 const finalPointSize = ( validatedSize * safeWidth ) . toFixed ( 4 ) ;
3535
36- // We are passing a PointsMaterial when we should be passing a RawShaderMaterial.
37- // rocky doesn't know how to properly fix this. So...
38- // @ts -ignore
3936 return new Points (
4037 new BufferGeometry ( ) . setAttribute (
4138 'position' ,
@@ -44,10 +41,12 @@ export default function (
4441 3
4542 )
4643 ) ,
44+ // We are passing a PointsMaterial when we should be passing a RawShaderMaterial.
45+ // rocky doesn't know how to properly fix this. So...
46+ // @ts -ignore
4747 new RawShaderMaterial ( {
4848 transparent : true ,
4949 depthWrite : false ,
50- // 2. THE SHADER SHOULD ONLY RECEIVE THE FINAL NUMBER
5150 vertexShader : `#version 300 es
5251 in vec3 position;
5352 uniform mat4 projectionMatrix;
You can’t perform that action at this time.
0 commit comments