Skip to content

Commit 6ea518b

Browse files
rockyTiagoCavalcante
authored andcommitted
Administrivia
1 parent d5b04d2 commit 6ea518b

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
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

src/primitives/point.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)