Skip to content

Commit

Permalink
test putting recaptchaservice in constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcatbuzz committed May 20, 2024
1 parent a5d6e9a commit 981c7b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/contact/contact.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ export class ContactComponent implements OnInit {
private uiService = inject(UIService)
private http = inject(HttpClient)
private router = inject(Router)
private recaptchaService = inject(ReCaptchaV3Service)
// private recaptchaService = inject(ReCaptchaV3Service)

constructor() { }
constructor(private recaptchaService: ReCaptchaV3Service) { }

isSubmitted = false;

Expand Down
3 changes: 3 additions & 0 deletions src/app/home/home.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ export class HomeComponent implements OnInit, AfterViewChecked, OnDestroy {
this.model.traverse((o: { isMesh: any; material: THREE.MeshBasicMaterial; })=>{
if(o.isMesh){
console.log(o);
// original color for threejs depth texture
// o.material = new THREE.MeshBasicMaterial({color:0x000000})
o.material = new THREE.MeshBasicMaterial({color:0xff0000})

}
});
console.log(this.model, 'model running?')
Expand Down

0 comments on commit 981c7b6

Please sign in to comment.